]> git.sesse.net Git - stockfish/commit - src/nnue/evaluate_nnue.cpp
Play more positional in endgames
authorTopologist <thelisting@web.de>
Mon, 28 Mar 2022 09:50:08 +0000 (11:50 +0200)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Mon, 28 Mar 2022 20:43:52 +0000 (22:43 +0200)
commit471d93063a8fc1803a4a34397fe39e2344a05d76
tree90698ea9e74660f6763938534b89fb0e4685d969
parent08e0f52b77edb929989c68c49e954b9bc5d7d67e
Play more positional in endgames

This patch chooses the delta value (which skews the nnue evaluation between positional and materialistic)
depending on the material: If the material is low, delta will be higher and the evaluation is shifted
to the positional value. If the material is high, the evaluation will be shifted to the psqt value.
I don't think slightly negative values of delta should be a concern.

Passed STC:
https://tests.stockfishchess.org/tests/view/62418513b3b383e86185766f
LLR: 2.94 (-2.94,2.94) <0.00,2.50>
Total: 28808 W: 7832 L: 7564 D: 13412
Ptnml(0-2): 147, 3186, 7505, 3384, 182

Passed LTC:
https://tests.stockfishchess.org/tests/view/62419137b3b383e861857842
LLR: 2.96 (-2.94,2.94) <0.50,3.00>
Total: 58632 W: 15776 L: 15450 D: 27406
Ptnml(0-2): 42, 5889, 17149, 6173, 63

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

Bench: 7588855
src/nnue/evaluate_nnue.cpp