Skip to content

Commit

Permalink
Tune NNUE scaling params
Browse files Browse the repository at this point in the history
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 #3811

Bench: 7218806
  • Loading branch information
vondele authored and snicolet committed Nov 27, 2021
1 parent 9ee58dc commit 4bb11e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/evaluate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4bb11e8

Please sign in to comment.