-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
Batch sampling improvement #1154
base: development
Are you sure you want to change the base?
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.
- Update CHANGELOG.md
- Add example
- Update docs / somewhere mention this new feature
# gaussian process | ||
assert isinstance(self._model, GaussianProcess), 'Sample based estimate strategy only allows ' \ | ||
'GP as surrogate model!' | ||
return self._model.sample_functions(X_test=X_running, n_funcs=1) |
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.
Why cannot we sample from the random forest?
trial: self.runhistory[trial] | ||
for trial in self.runhistory | ||
if self.runhistory[trial].status == StatusType.RUNNING | ||
# and runhistory.data[run].time >= self._algorithm_walltime_limit # type: ignore |
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.
why is this commented out / why would we need this?
If it should stay there commented, please explain why
trial: self.runhistory[trial] | ||
for trial in self.runhistory | ||
if self.runhistory[trial].status == StatusType.RUNNING | ||
# and runhistory.data[run].time >= self._algorithm_walltime_limit # type: ignore |
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.
same here
Outstanding TODOs:
|
Closing #1152
This is the first step towards solving the batch sampling
TODO: