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

Adjust mobility values #7

Merged
merged 25 commits into from
May 31, 2024
Merged

Adjust mobility values #7

merged 25 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.

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 force-pushed the adjust-mobility-values branch from 14de51e to c44ce0f Compare May 31, 2024 11:21
@eduherminio eduherminio marked this pull request as ready for review May 31, 2024 19:35
@eduherminio eduherminio merged commit 0502ae8 into lynx May 31, 2024
@eduherminio eduherminio deleted the adjust-mobility-values branch May 31, 2024 19:36
eduherminio added a commit to lynx-chess/Lynx 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)

Comes after some hard work in lynx-chess/texel-tuner#7
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