Regarding the implementation of tapered eval in https://www.chessprogramming.org/Tapere ... on_example.
At what value (+/-) can you see we're in the endgame?
The range is 0...255, is it half way? At 192?
tapered eval
Moderators: hgm, Rebel, chrisw
-
- Posts: 481
- Joined: Tue Jul 03, 2018 10:19 am
- Full name: Folkert van Heusden
-
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: tapered eval
I understand the question, but what is the point of the question?flok wrote: ↑Fri Jul 05, 2019 5:16 pm Regarding the implementation of tapered eval in https://www.chessprogramming.org/Tapere ... on_example.
At what value (+/-) can you see we're in the endgame?
The range is 0...255, is it half way? At 192?
-
- Posts: 481
- Joined: Tue Jul 03, 2018 10:19 am
- Full name: Folkert van Heusden
Re: tapered eval
I've got two arrays of values for some eval parameter: one array for mid-game, the other for end-game.zullil wrote: ↑Fri Jul 05, 2019 5:28 pmI understand the question, but what is the point of the question?flok wrote: ↑Fri Jul 05, 2019 5:16 pm Regarding the implementation of tapered eval in https://www.chessprogramming.org/Tapere ... on_example.
At what value (+/-) can you see we're in the endgame?
The range is 0...255, is it half way? At 192?
I would like to go smoothly from one to the other, but for that I need to know if the center-point, the point where one no longer speaks of mid-game but of end-game, if that's at 127.5.
-
- Posts: 6442
- Joined: Tue Jan 09, 2007 12:31 am
- Location: PA USA
- Full name: Louis Zulli
Re: tapered eval
I think you should review the material you linked above. The "smooth" transition is accomplished by the changing value of the "phase" variable. Not sure how a "center-point" matters.flok wrote: ↑Fri Jul 05, 2019 5:36 pmI've got two arrays of values for some eval parameter: one array for mid-game, the other for end-game.zullil wrote: ↑Fri Jul 05, 2019 5:28 pmI understand the question, but what is the point of the question?flok wrote: ↑Fri Jul 05, 2019 5:16 pm Regarding the implementation of tapered eval in https://www.chessprogramming.org/Tapere ... on_example.
At what value (+/-) can you see we're in the endgame?
The range is 0...255, is it half way? At 192?
I would like to go smoothly from one to the other, but for that I need to know if the center-point, the point where one no longer speaks of mid-game but of end-game, if that's at 127.5.
-
- Posts: 27796
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: tapered eval
The whole point of tapered eval is that there is no such thing as the start of the end-game. Only the start of the game (i.e. all material present) and the end of the game (no non-Pawn material present). You just have to provide these two extreme values for every parameter, and the interpolation formula does the rest.
If the values you considered 'end-game' values before, you should ask yourself for what typical material on the board the values you chose were most suitable. If that was for an early end-game, say with two Rooks and a minor, that would be for totalPhase = 5 rather than 0, and you would have to extrapolate a bit to get the values for totalPhase = 0.
If the values you considered 'end-game' values before, you should ask yourself for what typical material on the board the values you chose were most suitable. If that was for an early end-game, say with two Rooks and a minor, that would be for totalPhase = 5 rather than 0, and you would have to extrapolate a bit to get the values for totalPhase = 0.