-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Speed up conditional hyperparameter imputation #170
Conversation
Instead of using a method for this, convert the configuration into an array and replace missing values with -1.
Let's first check whether Frank agrees or has some concerns. |
smac/smbo/local_search.py
Outdated
acq_val_incumbent = self.acquisition_function( | ||
incumbent_.get_array(), | ||
*args) | ||
incumbent_ = incumbent.get_array() |
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.
Distinguishing between two variables with only "_" can cause a lot of confusion or needs at least a comment in the code.
7f9e772
to
0dcbcdc
Compare
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.
please add a comment in the code that get_one_exchange_neighbourhood() returns an iterator-like object and not a list
Instead of using a method for this, convert the configuration
into an array and replace missing values with -1.