-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default values for Ensemble.from_sample #730
Default values for Ensemble.from_sample #730
Conversation
ensemble.from_sample
Codecov Report
@@ Coverage Diff @@
## develop #730 +/- ##
===========================================
- Coverage 89.74% 89.33% -0.42%
===========================================
Files 99 99
Lines 6720 6730 +10
===========================================
- Hits 6031 6012 -19
- Misses 689 718 +29
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't we need some checks, if x_names
, lower_bound
, ... are in **kwargs
?
Yes definitely currently on it. 👍 |
The docstring for pyPESTO/pypesto/ensemble/ensemble.py Lines 59 to 65 in e1d5640
|
it's just shortened, right? arguably too shortened, should at least say that the similar to lower bound. |
ok thx for pointing out it's predictions vs parameters. agreed, while conceptually both may make sense, from usage it should probably be parameters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, looks good!
Given the return statement of Ensemble.predict(), I agree, it should be parameters if anything, but does it even make sense? As far as I can see, the EnsemblePredictor does not contain any info about the parameters anymore and is just meant as simulation result. But in that case lower bounds for parameters do not make sense? Should I remove it entirely? |
Seems like the intention is for bounds to be on parameters in pyPESTO/pypesto/ensemble/ensemble.py Line 699 in f37f050
EnsemblePrediction (currently no usage...). Hence it doesn't make sense to pass bounds from Ensemble to EnsemblePrediction , as done in Ensemble.predict : pyPESTO/pypesto/ensemble/ensemble.py Lines 666 to 667 in f37f050
As @yannikschaelte said, both make sense, but only bounds on parameters are currently used. Maybe add a |
fixes #727.