mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 11:06:58 +08:00
Revert "Changed the constant value to calculate the winning percentage."
This reverts commit 00f84ed99a.
This commit is contained in:
@@ -1014,8 +1014,7 @@ double winning_percentage(double value)
|
||||
{
|
||||
// この600.0という定数は、ponanza定数。(ponanzaがそうしているらしいという意味で)
|
||||
// ゲームの進行度に合わせたものにしたほうがいいかも知れないけども、その効果のほどは不明。
|
||||
// Pawn Advantage, Win Percentage, and Elo - Chessprogramming wiki https://www.chessprogramming.org/Pawn_Advantage,_Win_Percentage,_and_Elo
|
||||
return sigmoid(value * log(10.0) / 4.0 / PawnValueEg);
|
||||
return sigmoid(value / 600.0);
|
||||
}
|
||||
|
||||
// 普通のシグモイド関数の導関数。
|
||||
|
||||
Reference in New Issue
Block a user