Search found 254 matches

by Pio
Fri Jan 22, 2021 6:36 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Did anyone write a xiangqi chess engine?
Replies: 56
Views: 5818

Re: Did anyone write a xiangqi chess engine?

Hi guys I got a request from one of my subscribers on youtube to create a tutorial on writing Chinese chess (xiangqi) engine. I can't see any major issues with the movegen even though the rules are quite tricky. What confuses me the most is the... I don't even know how to call it... that game is ju...
by Pio
Thu Jan 21, 2021 8:09 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Tapered Evaluation and MSE (Texel Tuning)
Replies: 220
Views: 15964

Re: Tapered Evaluation and MSE (Texel Tuning)

There seems to be some disagreement about what 'Texel tuning' means. As far as I am concerned it is minimizing the MSE in the prediction of the result of the game from which the test positions were taken. That is, finding the global minimum. If you allow yourself to get stuck in a local minimum, yo...
by Pio
Thu Jan 21, 2021 12:19 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Tapered Evaluation and MSE (Texel Tuning)
Replies: 220
Views: 15964

Re: Tapered Evaluation and MSE (Texel Tuning)

Pio, in your last post it seems you are confusing myself with Michael (Desperado). I did not tune just piece values (except for non-productive testing purposes), I did not write about any special effects of MG values only, and my tuning process did not return parameters close to zero. Also I still ...
by Pio
Wed Jan 20, 2021 11:35 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Tapered Evaluation and MSE (Texel Tuning)
Replies: 220
Views: 15964

Re: Tapered Evaluation and MSE (Texel Tuning)

It is unlikely to find "the minimum MSE" with Texel tuning. The algorithm stops at a local minimum of the MSE, and there may be several of that kind. It seems you ignore this fact. A good optimizer should not get stuck in local optima. And note that for terms in which the evaluation is linear (like...
by Pio
Wed Jan 20, 2021 4:36 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Tapered Evaluation and MSE (Texel Tuning)
Replies: 220
Views: 15964

Re: Tapered Evaluation and MSE (Texel Tuning)

It is unlikely to find "the minimum MSE" with Texel tuning. The algorithm stops at a local minimum of the MSE, and there may be several of that kind. It seems you ignore this fact. A good optimizer should not get stuck in local optima. And note that for terms in which the evaluation is linear (like...
by Pio
Wed Jan 20, 2021 4:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Tapered Evaluation and MSE (Texel Tuning)
Replies: 220
Views: 15964

Re: Tapered Evaluation and MSE (Texel Tuning)

It is unlikely to find "the minimum MSE" with Texel tuning. The algorithm stops at a local minimum of the MSE, and there may be several of that kind. It seems you ignore this fact. A good optimizer should not get stuck in local optima. And note that for terms in which the evaluation is linear (like...
by Pio
Wed Jan 20, 2021 2:45 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Tapered Evaluation and MSE (Texel Tuning)
Replies: 220
Views: 15964

Re: Tapered Evaluation and MSE (Texel Tuning)

I am not so sure about that the test set should be as similar as possible to the nodes encountered by its search tree. Unbalanced positions are of course very helpful but positions where one side is leading by a huge amount will not be helpful since it is much more important for the engine to be ab...
by Pio
Wed Jan 20, 2021 12:49 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Tapered Evaluation and MSE (Texel Tuning)
Replies: 220
Views: 15964

Re: Tapered Evaluation and MSE (Texel Tuning)

I understand your point but making huge mispredictions might not be as bad as you think with an engine. You don't think it bad if it values a Queen less than 2 Pawns? Have you tried that? Who knows maybe two pawns are a lot more worth 😅 (and yes I am joking) I guess using different K values for eac...
by Pio
Wed Jan 20, 2021 12:47 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Tapered Evaluation and MSE (Texel Tuning)
Replies: 220
Views: 15964

Re: Tapered Evaluation and MSE (Texel Tuning)

I am not so sure about that the test set should be as similar as possible to the nodes encountered by its search tree. Unbalanced positions are of course very helpful but positions where one side is leading by a huge amount will not be helpful since it is much more important for the engine to be ab...
by Pio
Wed Jan 20, 2021 11:37 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Tapered Evaluation and MSE (Texel Tuning)
Replies: 220
Views: 15964

Re: Tapered Evaluation and MSE (Texel Tuning)

I am not so sure about that the test set should be as similar as possible to the nodes encountered by its search tree. Unbalanced positions are of course very helpful but positions where one side is leading by a huge amount will not be helpful since it is much more important for the engine to be ab...