Giter Site home page Giter Site logo

Evaluation/Search observation about bbc HOT 4 OPEN

lewismj avatar lewismj commented on July 30, 2024
Evaluation/Search observation

from bbc.

Comments (4)

tissatussa avatar tissatussa commented on July 30, 2024

..set the passed pawn bonuses to 0 ..

how to do that ?
there is no UCI option for it, and in the few source files i find no code line which sets such value ..

from bbc.

lewismj avatar lewismj commented on July 30, 2024

custom evaluation, that would be the early version 1.2 (or any version that uses the eval. function from that version)
there is a line of code:

https://github.com/maksimKorzh/bbc/blob/master/src/old_versions/bbc_1.2.c

const int passed_pawn_bonus[8] = { 0, 10, 30, 50, 75, 100, 150, 200 };

in the example I cited, where it seems to choose a strange move, its due to those values, set them to zero, or tweak them lower and it picks a better move, maybe its the size of the bonus, or something throwing off the search.

from bbc.

lewismj avatar lewismj commented on July 30, 2024

image
image

First is the custom eval, 1.2 vs 1.3 (note, I also replicated by putting back the original evaluation in 1.4 to reproduce it),
set the pawn bonuses lower and it picks the same as the NNUE version.

from bbc.

lewismj avatar lewismj commented on July 30, 2024

The one thing you notice, if you do play around with the passed_pawn_bonus array is that it can impact the nodes removed by the late move reduction... (just on the early versions that used the custom evaluation) interesting to see the trade offs. But you can see why NN evals are preferred these days, tweaking custom eval is clearly tricky.

from bbc.

Related Issues (8)

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.