-
Notifications
You must be signed in to change notification settings - Fork 127
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
Multi Arm Bandit #388
Comments
It would be indeed. We do have |
I was using the bandit parameter in the param space of BayesianOptimisationLoop class. But when I tried running the loop there was an attribute error -' 'BanditParameter' object has no attribute 'dimensionality' ' as the BayesianOptimisationLoop was trying to use the context manager. So, I realized I am not able to use the bandit parameter properly to solve a multi-arm bandit problem. |
If you could post a code sample, maybe we could look into it. It can be a reasonable bug in Emukit |
from emukit.core.bandit_parameter import BanditParameter X=np.zeros((data_points,2)) #data_points are no of data points number of initial points that are collected jointly before start running the optimization. arms_bandit = [] model_gpy = GPRegression(bandit,-Y_init) # Train and wrap the model in Emukit dynamic_lcb = DynamicNegativeLowerConfidenceBound(model = model_emukit,input_space_size=100, delta=0.2) bayesopt_loop_cust = BayesianOptimizationLoop( bayesopt_loop_cust.run_loop(func.f, 10) AttributeError: 'BanditParameter' object has no attribute 'dimensionality' #I have also imported all the required modules and functions to run DynamicNegativeLowerConfidenceBound , to make things look a little clean I didn't include that part. Will this work? |
I was going through the examples of this package to find out how it can be used to solve multi-arm bandit problems, but I was not able to find any such examples. Is it possible to have an example to solve multiarm bandit problems with this package? That will be really helpful.
The text was updated successfully, but these errors were encountered: