-
Notifications
You must be signed in to change notification settings - Fork 319
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
Feature Request: PyCharm support for viz #1729
Comments
Hi @HUSTYuChen!
But I can answer this question:
Yes, indeed you can! See examples of how to make a generation strategy here: https://ax.dev/tutorials/generation_strategy.html (we also recommend just using our auto-selection logic as illustrated in section 1B in that tutorial; this auto-selection will happen automatically if you use the Service API and don't specify a So in short, if you use AxClient, you should not need to configure your own generation strategy at all. You can specify multiple objectives in |
Hi @lena-kashtelyan ! |
Hi again @HUSTYuChen, happy to help! Let us know if you run into any issues setting up the models you wanted to use, in Service API. I actually don't know much about PyCharm, we'll look into it. I'll rename this issue accordingly and leave it open but put on the Wishlist, since the PyCharm aspect is the only open part of this I believe. |
So I run the function run_bdsim in a single metric class, which seems to work. However, the Sobol algorithm in the develop API seems to sample random points (multiple points) and then calculate the associated values at the same time. Is it possible to sample a point and calculate it once (only run once run_bdsim and get all the metrics), as the function (run_bdsim) I wrote can't calculate it in parallel?
For instance:
gs = GenerationStrategy(steps=[GenerationStep(model=Models.SOBOL, num_trials=NUM_SOBOL_STEPS),
GenerationStep(model=Models.MOO, num_trials=-1)])
ax_client = AxClient(generation_strategy=gs, random_seed=1234, verbose_logging=True)
The above code is same qNEHVI as the website:https://ax.dev/tutorials/multiobjective_optimization.html
I've attached my own code to the attachment.
The text was updated successfully, but these errors were encountered: