elfi-dev / elfi

ELFI - Engine for Likelihood-Free Inference
http://elfi.readthedocs.io
BSD 3-Clause "New" or "Revised" License
265 stars 60 forks source link

BSL update sample class #450

Closed uremes closed 1 year ago

uremes commented 1 year ago

Summary:

small modifications to BSL output, for example included method name and num simulations in the output sample and removed some unused inputs and code in the sample class. also the sample class took as input both (a) samples_all and burn_in to indicate how many samples should be removed and (b) outputs that were the samples with a burn in period removed. in this version outputs is not taken as input but created based on samples_all and burn_in in the sample class initialisation, same as we do in BOLFI sample.

Please make sure

If your contribution adds, removes or somehow changes the functional behavior of the package, please check that

and the proposed changes pass all unit tests (check step 6 of CONTRIBUTING.rst for details)

Copyright and Licensing

Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: