Coder Social home page Coder Social logo

Comments (7)

bernardbeckerman avatar bernardbeckerman commented on April 27, 2024

Hi there, taking a look!

from ax.

bernardbeckerman avatar bernardbeckerman commented on April 27, 2024

Is there any particular reason that the developer API is required for your use-case, or can you work around this issue by using the service API instead?

Additionally, if I do not put the data argument (and naively expect that the experiment containing the data will be enough) i get the following error:
DataRequiredError: StandardizeY transform requires non-empty data.

This is because your the BO model has no prior data off of which to train. Usually, GenerationStrategies begin with a Sobol (random initialization) step, followed by a BO step. The former seeds the search space with data off of which the latter trains. When you provide prior data, it's possible to skip the Sobol step as you saw above, but when no prior data is provided, a Sobol step is required. Does that answer your questions?

from ax.

Jgmedina95 avatar Jgmedina95 commented on April 27, 2024

Understood the latter part! thanks for explaining it
But I do need to use the Developer API, as to generate new samples I'm using the FixedParameters like:

generator_run = model_bridge_with_GPEI.gen(n=N,
                                      fixed_features=ObservationFeatures({
                                                             'Parameter1':12345,
                                                             'Parameter2':6789
                                                                             }
                                                                     ) )

Which is not available in the Service API, there's a Feature Request about this somewhere.

from ax.

mgarrard avatar mgarrard commented on April 27, 2024

Hi @Jgmedina95 -- let me find the associated feature request and mark another interest for you. Also re: your comment about not sure why runner is needed -- your guess is right! Essentially a runner defines how to deploy the experiment, meaning how to evaluate the trials and then stores that data somewhere. It also keeps track of where that data is stored so that it can be easily fetched in the future. This page has a bit of info on runners.

Bernie's call-out re: the SOBOL initialization step being missing causing the error seems accurate to me -- does this help answer your question, or would you like further support? Will agree definitely a bit ambiguous, so will also make a note of that.

from ax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.