Coder Social home page Coder Social logo

Comments (4)

danielcohenlive avatar danielcohenlive commented on April 28, 2024

Hi @NeptuneProjects. Thanks for the question. It looks like _construct_inputs_mc_base() is from an earlier version of botorch, so I'm not exactly sure what it does, but I repro'd without it and it looks like qLowerBoundMaxValueEntropy inherits from DiscreteMaxValueBase which actually doesn't take an objective in init, so you need to make sure "objective" is not a key in the dict returned by construct_inputs_qGIBBON(). The next problem I run into though is that the train_inputs arg is required, which may be because I'm not using _construct_inputs_mc_base().

cc @Balandat

from ax.

danielcohenlive avatar danielcohenlive commented on April 28, 2024

To follow up @NeptuneProjects , can you confirm what is in the inputs_mc dict, and also try calling del inputs_mc["objective"] to see if that solves the problem? It would also be useful to know what version of botorch and Ax you're using.

from ax.

Balandat avatar Balandat commented on April 28, 2024

+1 to understanding what versions of Ax/BoTorch you're currently using. On trunk, the input constructor for qMaxValueEntropy (which also subclasses DiscreteMaxValueBase should be a good starting point for q qLowerBoundMaxValueEntropy (no need to define a qGibbon class): https://github.com/pytorch/botorch/blob/841392063a5289377cb3ee46c62827003ff2bc07/botorch/acquisition/input_constructors.py#L1022-L1041 - in fact, unless you want to expose some of the optional args, you should be able to just use that verbatim.

from ax.

NeptuneProjects avatar NeptuneProjects commented on April 28, 2024

I have been using Ax 0.3.1 and BoTorch 0.8.3. I should have upgraded before I asked the question - I will do that now, play with your suggestions, and get back to you.

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.