Git Product home page Git Product logo

Comments (3)

wonderingabout avatar wonderingabout commented on June 18, 2024

to do that, the general idea i think is to use a few if and elses :

something like this :

if (current_move < min_threshold && current_move > max_threshold) { enable_dirichlet_noise = 1;
} else { enable_dirichlet_noise = 0; }

then we add a check at the begining of every move 👍
just an example of idea, i am sure that you know much better ways to do this @wodesuck

also, to do that, we would need to update all the existing config files, but i can do that in a PR if you want @wodesuck , i would be happy to help 🥇

if we want to apply noise max threshold for all the game, then we can use max_threshold: 999 (all games are shorter than 999 moves)

from phoenixgo.

wodesuck avatar wodesuck commented on June 18, 2024

To do this, I think you may change the config file on-the-fly, since mcts_main would reload the config every step if it had been modified. That will be more flexible than adding an option.

from phoenixgo.

wonderingabout avatar wonderingabout commented on June 18, 2024

if the config file is reloaded at every move, then we can add a line in the config file rather, ok 👍

what do i need to add in the config file to do that @wodesuck

can you write me all the code needed for min+max dirichlet noise threshold in config file ?

big thanks 👍

from phoenixgo.

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.