-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add MOFA #864
Add MOFA #864
Conversation
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.
👍
Co-authored-by: Fabrice Normandin <[email protected]>
Co-authored-by: Fabrice Normandin <[email protected]>
Co-authored-by: Fabrice Normandin <[email protected]>
Co-authored-by: Fabrice Normandin <[email protected]>
As of ee7139c, all tests on |
About |
About The I've investigated deeper. The problem is that |
The test that wasn't working should now work: The force_observe will always observe the required number of trials. |
Reference to pandas could be added here: https://github.com/Epistimio/orion/blob/develop/docs/src/conf.py#L254 |
All tests on this PR are passing except for the Python 3.7 tests. This is due to MOFA needing scipy v1.8.0 which is only supported in Python >= 3.8. Are we still planning on supporting Python 3.7? If so, is there a way to for the CI to skip tests on MOFA if Python 3.7 tests are being run? |
Tests could be skipped like this: https://docs.pytest.org/en/7.1.x/how-to/skipping.html#id1. It would be good to have as well a clear error message when correct scipy version cannot be imported. |
It looks like its failing when the extra dependencies of the other libraries are not installed. Could it be depending on a dependency that is not in the core dependencies but is in the extra of another algorithm? |
It looks like the problem in build #1716 is due to changes merged in PR #913 in the |
TestPhase("3rd-run", n_trials * 2, "space.sample"), | ||
] | ||
|
||
def get_num(self, num): |
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.
def get_num(self, num): | |
@classmethod | |
def get_num(cls, num): |
This should solve it @wagnersj
Hey @wagnersj : There's a simple conflict to solve in setup.py, and you can just apply the fix I mention above for the I test this locally, checked out develop, merged your branch, fixed the simple conflict in setup.py, and ran the tests for mofa in python 3.9: Everything works! |
Description
Adds the MOFA algorithm to Orion.
Tests
$ tox -e py38
; replace38
by your Python version if necessary)Documentation
Quality
$ tox -e lint
)