mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Remove material imbalance param when adjusting optimism
Passed non-regression STC: https://tests.stockfishchess.org/tests/view/664d033d830eb9f886616aff LLR: 2.93 (-2.94,2.94) <-1.75,0.25> Total: 102144 W: 26283 L: 26135 D: 49726 Ptnml(0-2): 292, 12201, 25991, 12243, 345 Passed non-regression LTC: https://tests.stockfishchess.org/tests/view/664d5c00830eb9f886616cb3 LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 250032 W: 63022 L: 63036 D: 123974 Ptnml(0-2): 103, 27941, 68970, 27871, 131 closes https://github.com/official-stockfish/Stockfish/pull/5284 Bench: 1330940
This commit is contained in:
parent
72a345873d
commit
365aa85dce
1 changed files with 2 additions and 2 deletions
|
@ -73,8 +73,8 @@ Value Eval::evaluate(const Eval::NNUE::Networks& networks,
|
|||
smallNet = false;
|
||||
}
|
||||
|
||||
// Blend optimism and eval with nnue complexity and material imbalance
|
||||
optimism += optimism * (nnueComplexity + std::abs(simpleEval - nnue)) / 620;
|
||||
// Blend optimism and eval with nnue complexity
|
||||
optimism += optimism * nnueComplexity / 512;
|
||||
nnue -= nnue * (nnueComplexity * 5 / 3) / 32082;
|
||||
|
||||
v = (nnue
|
||||
|
|
Loading…
Add table
Reference in a new issue