Git Product home page Git Product logo

Comments (3)

DMTSource avatar DMTSource commented on September 26, 2024 1

Very common issue in machine learning in general. Some quick reading might show you suggestions like
Bayesian > random > gridsearch. That is a SUPER simple view, cause I have had seen many try Bayesian opt and fail, more so in architecture vs hyperparam opt.

I would DEF not opt things yourself or use a grid search. Just let it run via Spearmint for a few days to save your sanity.
https://github.com/HIPS/Spearmint

Of course this is just 1 quick, old idea. I'm sure there are many more cutting edge ways to explore the param space.

from deeprl-agents.

DMTSource avatar DMTSource commented on September 26, 2024 1

The Spearmint examples show how to place you code inside a function and then call it from another. This is used by Spearmint to automatically determine the best values for whatever you let it optimize.

For example you could set ranges for your: learning rate, skip rate, gamma and max experience buffer len, and then have Spearmint automatically, "intelligently"(Bayesian) explore the param space in a quicker way than a grid or random search might. The trick would be evaluation. You would have to take the max of the average score or some other grading factor to judge each experiment against each other in a meaningful way. If you use multi factors you could try minimizing (-top score, time to score) and try to discover a network that works best for you. The idea being even if it took a month its totally automatic. Smartish Brute force, woooo!

If you have the resources, Spearmint can speed up its efforts by running multiple experiments at once.

from deeprl-agents.

IbrahimSobh avatar IbrahimSobh commented on September 26, 2024

@DMTSource thank you, helpful as usual :)

Moreover, I have seen the following

This short video
and this nice article

What are super simple ways to perform optimization like Spearmint? I mean that will be applied to the code easily (This TensorFlow "DeepRL-Agents" code)

from deeprl-agents.

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.