question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some consultation about the visualization results.

See original GitHub issue

Hello, I am trying to use Bayes-opt to optimize 5-D problems, and all parameters are ‘range’ parameters. The generation strategy is using the default strategy, SOBOL for initial sampling, and GPEI for later optimization. The following are the generation strategy’s codes:

gs =  GenerationStrategy(
    steps=[
        # 1. Initialization step (does not require pre-existing data and is well-suited for 
        # initial sampling of the search space)
        GenerationStep(
            model=Models.SOBOL,
            num_trials=10,  # How many trials should be produced from this generation step
            min_trials_observed=3, # How many trials need to be completed to move to next model
            max_parallelism=5,  # Max parallelism for this step
            model_kwargs={"seed": 999},  # Any kwargs you want passed into the model
            model_gen_kwargs={},  # Any kwargs you want passed to `modelbridge.gen`
        ),
        # 2. Bayesian optimization step (requires data obtained from previous phase and learns
        # from all data available at the time of each new candidate generation call)
        GenerationStep(
            model=Models.GPEI,
            num_trials=-1,  # No limitation on how many trials should be produced from this step
            max_parallelism=3,  # Parallelism limit for this step, often lower than for Sobol
            # More on parallelism vs. required samples in BayesOpt:
            # https://ax.dev/docs/bayesopt.html#tradeoff-between-parallelism-and-total-number-of-trials
        ),
    ]
)

And 300 optimization loops are used, the following are the visualization results: image image image My questions are whether the CV result proved our learned Gaussian model performed very poorly, except for doing more loops, how can I improve its performance? In addition, the contour plots look a little strange, would you like to tell me what is wrong?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
EugenHotajcommented, Mar 3, 2022

The sampling bias might be due to the parameter constraints possibly not being set appropriately. The value of (lower, upper) = (-0.05, 1.9) while (ll, uu) = (-1.9, 0.05), so a huge part of the param space violates the constraints.

1reaction
EugenHotajcommented, Mar 14, 2022

Closing this out as it seems to have been resolved. Please reopen if necessary.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Visualize Qualitative Data - Depict Data Studio
Visualize qualitative data from interviews, focus groups, surveys, and more by using word. Are you looking for ways to display your qualitative data?...
Read more >
Data Visualization Principles for Management Consultants ...
Today, you will learn how to use different data visualization techniques to show the results of your analyses during consulting projects.
Read more >
The Five Benefits of Data Visualization | Deloitte Netherlands
Our expertise in Data Visualization results in an ideal tool that gives you proper insight into your organization's most relevant management information.
Read more >
Visualization & Report Creation - Consulting - ClickInsight
Visualization & Report Creation · Define the issue or problem that is the focus of analysis · Define the questions to be answered...
Read more >
Using Data Visualization to Drive Targeted Action in Your ...
Data visualization is a reporting tool used by business analysts to quickly convey the meaning behind data.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found