GithubHelp home page GithubHelp logo

vlachosgroup / nextorch Goto Github PK

View Code? Open in Web Editor NEW
46.0 46.0 10.0 49.23 MB

Experimental design and Bayesian optimization library in Python/PyTorch

Home Page: https://nextorch.readthedocs.io/en/latest/

License: MIT License

Python 100.00%
bayesian-optimization design-of-experiments experimental-design pytorch

nextorch's People

Contributors

tychen1217 avatar wangyifan411 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nextorch's Issues

Does NEXTorch support inequality constraints?

Nice work on NEXTorch! Seems like a compelling idea, and some difficulty with implementing human-in-the-loop optimization via Ax is what led me here.

Something very important for my use-case is inequality constraints for composition-based Bayesian optimization (also prevalence-based, fractional-based, etc., i.e. everything needs to sum to 1). For example:

A + B + C <= 1

where A, B, and C are parameters to be optimized.

For me, there would technically also be D, the final parameter is determined automatically outside of the optimization loop via:

D = 1 - sum([A, B, C])

In other words, safe to ignore D, but relevant for the context of a composition-based optimization.

Is it possible to specify an inequality constraint within the current implementation of NEXTorch?

Time to upgrade to keep up with Ax

I tried to create a conda environment where Ax and nextorch could play together, but I am not so lucky.
I installed ax-platform first.

nextorch 0.4.0 requires botorch<=0.4.0, but you have botorch 0.9.5 which is incompatible.
nextorch 0.4.0 requires gpytorch<=1.4, but you have gpytorch 1.11 which is incompatible.

Please update nextorch to make that possible.

I cannot import PFR_yield

Once I want to run your example in the supporting information of your paper, I cannot import PFR_yield. I also cannot install this package.

Heatmap and surface plots no longer working

Thank you for a great tool and this is probably something that is non-urgent as the core code still seems to work.

When trying to produce heat map and surface plots using the template I end up with a uniform value across all values:
template_heatmap

template_surface

I initially thought that there was a problem with my code, but when running one of your notebooks (10_PFR_mixed_type_inputs.ipynb) I see the exact same behaviour:
10_PFR_heatmap

10_PFR_surface

My assumption is that this is probably just a dependency issue. The optimal values still seem to be correct and so it doesn't seem to be a problem that affects the underlying data processing.

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.