mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Tweak 7 eval params
Values found from 120k / 120k spsa games at 30+0.3 Passed STC: https://tests.stockfishchess.org/tests/view/66ecd7ce86d5ee47d953b003 LLR: 2.93 (-2.94,2.94) <0.00,2.00> Total: 241312 W: 62994 L: 62373 D: 115945 Ptnml(0-2): 754, 28684, 61280, 29063, 875 Passed LTC: https://tests.stockfishchess.org/tests/view/66f1f3a286d5ee47d953b331 LLR: 2.94 (-2.94,2.94) <0.50,2.50> Total: 304896 W: 77580 L: 76709 D: 150607 Ptnml(0-2): 198, 33413, 84360, 34274, 203 closes https://github.com/official-stockfish/Stockfish/pull/5611 bench 1173651
This commit is contained in:
parent
c85f802185
commit
2b9154882a
1 changed files with 3 additions and 3 deletions
|
@ -77,11 +77,11 @@ Value Eval::evaluate(const Eval::NNUE::Networks& networks,
|
|||
|
||||
// Blend optimism and eval with nnue complexity
|
||||
int nnueComplexity = std::abs(psqt - positional);
|
||||
optimism += optimism * nnueComplexity / (smallNet ? 433 : 453);
|
||||
nnue -= nnue * nnueComplexity / (smallNet ? 18815 : 17864);
|
||||
optimism += optimism * nnueComplexity / (smallNet ? 430 : 474);
|
||||
nnue -= nnue * nnueComplexity / (smallNet ? 20233 : 17879);
|
||||
|
||||
int material = (smallNet ? 553 : 532) * pos.count<PAWN>() + pos.non_pawn_material();
|
||||
v = (nnue * (73921 + material) + optimism * (8112 + material)) / (smallNet ? 68104 : 74715);
|
||||
v = (nnue * (76898 + material) + optimism * (8112 + material)) / (smallNet ? 74411 : 76256);
|
||||
|
||||
// Evaluation grain (to get more alpha-beta cuts) with randomization (for robustness)
|
||||
v = (v / 16) * 16 - 1 + (pos.key() & 0x2);
|
||||
|
|
Loading…
Add table
Reference in a new issue