1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

Tune NNUE scaling params

passed STC:
https://tests.stockfishchess.org/tests/view/61a156f89e83391467a2b2cc
LLR: 2.94 (-2.94,2.94) <0.00,2.50>
Total: 22816 W: 5896 L: 5646 D: 11274
Ptnml(0-2): 55, 2567, 5961, 2723, 102

passed LTC:
https://tests.stockfishchess.org/tests/view/61a1cf3d9e83391467a2b30b
LLR: 2.94 (-2.94,2.94) <0.50,3.00>
Total: 17904 W: 4658 L: 4424 D: 8822
Ptnml(0-2): 6, 1821, 5079, 2025, 21

closes https://github.com/official-stockfish/Stockfish/pull/3811

Bench: 7218806
This commit is contained in:
Joost VandeVondele 2021-11-26 22:10:00 +01:00 committed by Stéphane Nicolet
parent 9ee58dc7a7
commit 4bb11e823f

View file

@ -1091,9 +1091,9 @@ Value Eval::evaluate(const Position& pos) {
v = Evaluation<NO_TRACE>(pos).value(); // classical
else
{
int scale = 898
+ 24 * pos.count<PAWN>()
+ 33 * pos.non_pawn_material() / 1024;
int scale = 1049
+ 8 * pos.count<PAWN>()
+ 20 * pos.non_pawn_material() / 1024;
Value nnue = NNUE::evaluate(pos, true); // NNUE
Color stm = pos.side_to_move();