Skip to content
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

Initialize predictor #18

Merged
merged 2 commits into from Mar 22, 2021
Merged

Initialize predictor #18

merged 2 commits into from Mar 22, 2021

Conversation

yomichi
Copy link
Contributor

@yomichi yomichi commented Mar 22, 2021

When the policy has not yet initialized the predictor, get_score fails.
This PR fixes this by making get_score use gp.predictor in such cases.
If users want to use a blm.predictor, they can initialize the predictor by calling bayes_search(max_num_probes=0, num_rand_basis=nrb) with nrb>0.

This PR also makes bayes_search(max_num_probes=0, interval=interval) with interval>=0 learn hyperparameters of predictor.

@yomichi yomichi marked this pull request as ready for review March 22, 2021 12:09
@yomichi yomichi merged commit 2b124bf into develop Mar 22, 2021
@yomichi yomichi deleted the learn branch March 22, 2021 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant