Code Monkey home page Code Monkey logo

Comments (5)

mseeger avatar mseeger commented on September 22, 2024 1

You use StoppingCriterion. If your training script only reports once at the end, you use max_num_evaluations.

One thing: GridSearcher does not have a method to return the grid size it is using. You can use len(scheduler.searcher.hp_values_combinations) to obtain the grid size.

Also note the order of evaluation. The grid searcher will run through all grid configs, then start again.

from syne-tune.

mseeger avatar mseeger commented on September 22, 2024

Hello, you can use allow_duplicates=True with GridSearcher. The searcher will then cycle through the grid multiple times. In this case, it will never stop returning configs. If you know the grid size, just query it K times grid size times.

from syne_tune.optimizer.baselines import GridSearch

scheduler = GridSearch(
   config_space,
   metric="...",
   search_options={"allow_duplicates": True},
)

from syne-tune.

mseeger avatar mseeger commented on September 22, 2024

Let me know if this works for you

from syne-tune.

austinmw avatar austinmw commented on September 22, 2024

Thanks! Where do you input the K * grid_size?

from syne-tune.

austinmw avatar austinmw commented on September 22, 2024

Thanks!!

from syne-tune.

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.