Giter VIP home page Giter VIP logo

Comments (5)

Deathn0t avatar Deathn0t commented on May 24, 2024 1

Dear @zaikunzhang ,

As a user of this package I think the scikit-optimize original repository is not maintained anymore. However, I am working on an updated fork of this package available here within an hyperparameter optimization software called DeepHyper. Also, I was wondering if your approach could be used to optimize the acquisition function within Bayesian optimization. In replacement of lbfgs in scikit-optimize for example (would it perform better?).

Let me know if you are interested to try this out. I have implemented genetic algorithm recently to compare against lbfgs.
Best regards,
Romain EGELE,
Ph.D. at Universite Paris-Saclay.

from scikit-optimize.

zaikunzhang avatar zaikunzhang commented on May 24, 2024 1

Hi,

Is it better to wait for scipy/scipy#18118 and libprima/prima#52 to be completed to use PRIMA with Python or is there a Python binding already usable?

Yes, you can wait for libprima/prima#52 .

Does it work with mixed-variable spaces (Real, Discrete, Categorical)?

No.

Is there an "asynchronous" interface of the type ask/tell or suggest/observe to use prima in an asynchronous parallel setting?

Not directly. Maybe you can implement that using a callback function, but I am not sure.

Can it perform batch vectorized optimization? (instead of inferring the function once per input point, we infer a list of points directly, it can be faster in Python to avoid slow Python for loops)

Since PRIMA solvers are intrinsically sequential (except for the initialization), I guess the answer is no. However, I do not think calling PRIMA will involve Python for loops --- it will be a single line of Python code, behind which is the Fortran code.

Thank you.

Zaikun

from scikit-optimize.

zaikunzhang avatar zaikunzhang commented on May 24, 2024

Hi Romain @Deathn0t ,

The solvers in PRIMA can solve black-box optimization problems without requiring derivatives (first-order information). They are quite capable in solving hyper-parameter tuning problems. So they are good solvers to be included in DeepHyper.

if your approach could be used to optimize the acquisition function within Bayesian optimization. In replacement of lbfgs in scikit-optimize for example (would it perform better?).

Sure. Whether it will outperform lbfgs or not, it depends on the properties of the problem. If your problem is a black-box optimization problem, the PRIMA solvers are the state of the art --- they definitely outperform genetic algorithms. However, it your problem can provide first-order information, then gradient-based algorithms will perform better.

Thanks,
Zaikun

from scikit-optimize.

Deathn0t avatar Deathn0t commented on May 24, 2024

Thanks for your reply @zaikunzhang . Also, I have the following questions:

  1. Is it better to wait for scipy/scipy#18118 and libprima/prima#52 to be completed to use PRIMA with Python or is there a Python binding already usable?
  2. Does it work with mixed-variable spaces (Real, Discrete, Categorical)?
  3. Is there an "asynchronous" interface of the type ask/tell or suggest/observe to use prima in an asynchronous parallel setting?
  4. Can it perform batch vectorized optimization? (instead of inferring the function once per input point, we infer a list of points directly, it can be faster in Python to avoid slow Python for loops)

Thanks,
Romain.

from scikit-optimize.

Deathn0t avatar Deathn0t commented on May 24, 2024

Thank you for the detailed replies @zaikunzhang !

from scikit-optimize.

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.