Code Monkey home page Code Monkey logo

Comments (7)

amj avatar amj commented on August 22, 2024

raising to an exponent < 1 will still 'squash' the numbers closer together, compressing their ratios.

from minigo.

killerducky avatar killerducky commented on August 22, 2024

The confusion is over the comment: "exponentiate the probabilities by a temperature slightly larger than unity". But the code is hiding the true value of T. T = 1/0.95, not 0.95.

from minigo.

marcocalignano avatar marcocalignano commented on August 22, 2024

@killerducky Can you point me to the code where the true value of T is calculated? I just see this

minigo/mcts.py

Line 244 in e7e686d

probs = probs ** .95

from minigo.

killerducky avatar killerducky commented on August 22, 2024

They just wrote it in a different form. It's the same as this:

temp = 1.0/0.95
probs = probs ** (1/temp)

from minigo.

marcocalignano avatar marcocalignano commented on August 22, 2024

@amj yes, if the number is > 1 otherwise it does the opposite.

from minigo.

amj avatar amj commented on August 22, 2024

@marcocalignano not sure what you're saying. If the concern is that we are raising the raw visit counts to an exponent < 1, that has the effect of 'squashing' the numbers.

i.e., [1, 10, 100] ** 0.9 = [1, 7.9, 63]

This is also true for numbers < 1
[0.01, 0.1, 1] ** .9 = [.02, .13, 1]

the arithmetic ratios are smaller.

from minigo.

marcocalignano avatar marcocalignano commented on August 22, 2024

@amj Ok sorry if the arithmetic ratios is what count you are right I was just a bit disturbed by the fact that ifthe count is less that 1 you increase the number, if it it bigger than 1 you decrease it.

from minigo.

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.