Coder Social home page Coder Social logo

Restructure SMBO about smac3 HOT 4 CLOSED

automl avatar automl commented on May 15, 2024
Restructure SMBO

from smac3.

Comments (4)

mfeurer avatar mfeurer commented on May 15, 2024

Hi,

  • sounds very good to me.
  • whether we need a builder class I'm not sure. What would be the advantage of such a class? An empty __init__method? There is a discussion about this issue here.
  • sounds okay to me.

I think we don't use the BaseSolver at all at the moment. With this restructure we could move some parts to the BaseSolver and easily implement ROAR? Otherwise, we might also remove the base solver?

from smac3.

mlindauer avatar mlindauer commented on May 15, 2024

whether we need a builder class I'm not sure. What would be the advantage of such a class? An empty __init__method? There is a discussion about this issue here.

Right now, the smbo class (which is not named smac) plugs together a lot of stuff. For example, the smbo class does not really need to know the TAE since only the intial design and the intensification issues TA runs.

I don't think that __init__ would be empty afterwards, since needs indeed some other objects, such as runhistory2epm or acquistion_func.

Maybe it would be over-engineered to add a builder class. I don't know.

With this restructure we could move some parts to the BaseSolver and easily implement ROAR?

Yes, this would be the next step.

from smac3.

mfeurer avatar mfeurer commented on May 15, 2024

Good point, the SMBO class doesn't need to know about the TAE. But if we have a builder, it should be responsible for creating the whole object, thus the init should be empty afterwards. What about the following to still keep it simple:

  1. have a builder object or function, which creates the whole SMBO object. This should not be visible to the everyday user.
  2. have a scipy.optimize-like interface which creates an SMBO object and runs SMBO. This should be used by the everyday user.

I'm also not sure if it would be overengineering, but it would certainly make unit tests easier if we add more options for the user.

from smac3.

mlindauer avatar mlindauer commented on May 15, 2024

ok, sounds good. I will start to implement it.

from smac3.

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.