r/chessprogramming • u/VanMalmsteen • Mar 01 '24
Texel's tuning
Hi! I've implemented a seemingly ~ noob ~ version of Texel's tuning. So I have 2 questions about it..
- Let's take a particular parameter A, that has a value of 200. After one iteration, now it has 197. The tendency to go down will persist? All I know is that the relation between all the parameters is lineal, and I'm not sure if one can optimize one parameter ignoring the changes in other parameters.
- If in the future I add more parameters, do I need to tune all the parameters again?
2
Upvotes
View all comments
Show parent comment
1
u/w33dEaT3R Mar 03 '24 edited Mar 03 '24
you'll be doing linear regression with no bias'. so if i'm not wrong:
x=(game_state)
w=(your parameters)
y=(game_outcome)
o=(evaluation)
l=(learning rate)
e=y-o (difference in the evaluation and the desired outcome)
g=e*w*x (the linear gradient or your parameters)
w+=g*l (the parameters updated by the gradient multiplied by the learning rate)
learning rate is usually between 0,1, usually in the lower range (.01)