Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize mobility values #788

Merged
merged 2 commits into from
May 31, 2024
Merged

Normalize mobility values #788

merged 2 commits into from
May 31, 2024

Conversation

eduherminio
Copy link
Member

@eduherminio eduherminio commented May 31, 2024

Move mobilty common value/offset back to piece values, being able to better understand real mobility values and avoiding having weird piece values.

This is, at the end of the day, very similar to what is done with PSQTs. The main difference is that there I take the average of the table, and here I take the first non-zero value as offset. Props to @Ciekce for the idea.

Negative values at the beginning of bishop mobility array never get hit. That means that they're not excluded from the tuning, but they're never hit during it (for now)

Comes after some hard work in lynx-chess/texel-tuner#7

Test  | eval/adjust-mobility-values
Elo   | 1.21 +- 4.11 (95%)
SPRT  | 6.0+0.06s Threads=1 Hash=32MB
LLR   | 2.91 (-2.25, 2.89) [-5.00, 0.00]
Games | 16986: +5291 -5232 =6463
Penta | [683, 1914, 3204, 2045, 647]
https://openbench.lynx-chess.com/test/369/

…better understand mobility values and avoiding having weird piece values
eduherminio added a commit to lynx-chess/texel-tuner that referenced this pull request May 31, 2024
Move mobilty common value/offset back to piece values, being able to better understand real mobility values and avoiding having weird piece values.

This is, at the end of the day, very similar to what is done with PSQTs. The main difference is that there I take the average of the table, and here I take the first non-zero value as offset.

Negative values at the beginning of bishop mobility array never get hit. That means that they're not excluded from the tuning, but they're never hit during it (for now)

lynx-chess/Lynx#788
@eduherminio eduherminio marked this pull request as ready for review May 31, 2024 22:55
@eduherminio eduherminio merged commit afd0c75 into main May 31, 2024
27 checks passed
@eduherminio eduherminio deleted the eval/adjust-mobility-values branch May 31, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant