Git Product home page Git Product logo

Comments (11)

kaorahi avatar kaorahi commented on August 15, 2024 1

to get a rough idea...
winrate
scoreLead

from katago.

OmnipotentEntity avatar OmnipotentEntity commented on August 15, 2024

You can create some sort of metric by which to measure the time/accuracy tradeoff. In engineering, this is called constructing a "figure of merit." After constructing this value, you may then optimize according to that and arrive at an "empirically optimal" value for this parameter. However, because this is an inherently 2 dimensional concept, depending on how you weight these values you'll get different results for your optimization. Your value will only necessarily be the best value for that particular figure of merit, not for any possible figure of merit you could construct.

from katago.

qcgm1978 avatar qcgm1978 commented on August 15, 2024

Thank you, I will look into the “figure of merit” you mentioned. I appreciate you providing this line of thinking - I will try to find a good solution, especially some kind of benchmark to validate the winrates.

from katago.

lightvector avatar lightvector commented on August 15, 2024

I would also recommend using a newer neural net. "g170-b30c320x2-s4824661760-d1229536699.bin.gz " is very old and likely much worse than the current 18b net at https://katagotraining.org/networks/ so if you want better analysis, you can probably get an improvement for free just by upgrading.

from katago.

qcgm1978 avatar qcgm1978 commented on August 15, 2024

Thanks. I've just downloaded the highest Elo Rating Network File in the page.

from katago.

qcgm1978 avatar qcgm1978 commented on August 15, 2024

Wonderful. It seems that the results would be acceptable when maxVisits==1000. I'll try it in my code.

from katago.

qcgm1978 avatar qcgm1978 commented on August 15, 2024

I have another problem now. Which is more important for the accuracy of the win rate, maxVariationsForEachMove or maxVisits, and how to balance them to achieve higher efficiency?

from katago.

qcgm1978 avatar qcgm1978 commented on August 15, 2024

Google bard answer me as follows:

If you are playing in a tournament or other competitive setting, you should prioritize accuracy over efficiency. In this case, you should set maxVariationsForEachMove to a high value, such as 1000.

If you are playing for fun or practicing, you can prioritize efficiency over accuracy. In this case, you can reduce maxVariationsForEachMove to a lower value, such as 100 or 10.

If you are playing on a computer with limited resources, you will need to reduce both maxVariationsForEachMove and maxVisits to improve efficiency.

from katago.

lightvector avatar lightvector commented on August 15, 2024

"maxVariationsForEachMove" is not a parameter in KataGo, and I don't think the values given to you by bard are likely to have any meaningful use (bard is probably hallucinating and making up fake recommendations about something it doesn't understand, as LLMs tend to do). You should set maxVisits as high as you can tolerate given your compute or time budget, and as far as I know there isn't any other parameter that it should be balanced against.

from katago.

qcgm1978 avatar qcgm1978 commented on August 15, 2024

@lightvector You're right. I misunderstood the option in analyze-sgf. In that js module maxVariationsForEachMove have no effect on the accuracy. KataGo generates so many variations for a move, and the maximun variations count for a move of a SGF with the option.

from katago.

qcgm1978 avatar qcgm1978 commented on August 15, 2024

Based on my recent experiments, I've found that the optimal solution is likely to be found when the number of visits reaches around 2000.

from katago.

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.