]> git.sesse.net Git - stockfish/commit
Non-linear bonus for pawn count
authorGuardianRM <strimr25@mail.ru>
Sun, 12 Aug 2018 16:40:03 +0000 (18:40 +0200)
committerStéphane Nicolet <cassio@free.fr>
Sun, 12 Aug 2018 16:40:11 +0000 (18:40 +0200)
commit41cc4eb953b2574ea8858c6d52f09fb1574179c8
tree655f7b9520d1b5365d22bfd42216a5ccf5d2a994
parentb5581b7779b6e286fa2277625572996477d74b10
Non-linear bonus for pawn count

This patch introduces a non-linear bonus for pawns, along with some
(linear) corrections for the other pieces types.

The original values were obtained by a massive non-linear tuning of both
pawns and other pieces by GuardianRM, while Alain Savard and Chris Cain
later simplified the patch by observing that, apart from the pawn case, the
tuned corrections were in fact almost affine and could be incorporated in
our current code base via the piece values in types.h (offset) and the diagonal
of the quadratic matrix (slope). See discussion in PR#1725 :
https://github.com/official-stockfish/Stockfish/pull/1725

STC:
LLR: 2.97 (-2.94,2.94) [0.00,5.00]
Total: 42948 W: 9662 L: 9317 D: 23969
http://tests.stockfishchess.org/tests/view/5b6ff6e60ebc5902bdba1d87

LTC:
LLR: 2.97 (-2.94,2.94) [0.00,5.00]
Total: 19683 W: 3409 L: 3206 D: 13068
http://tests.stockfishchess.org/tests/view/5b702dbd0ebc5902bdba216b

How to continue from there?
- Maybe the non-linearity for the pawn value could be somewhat tempered
  again and a simpler linear correction for pawns would work?

Closes https://github.com/official-stockfish/Stockfish/pull/1734

Bench: 4681496
AUTHORS
src/material.cpp
src/search.cpp
src/types.h