mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 17:19:36 +00:00
Changed the constant value to calculate the winning percentage.
This commit is contained in:
parent
26271586cb
commit
00f84ed99a
1 changed files with 2 additions and 1 deletions
|
@ -1014,7 +1014,8 @@ double winning_percentage(double value)
|
|||
{
|
||||
// この600.0という定数は、ponanza定数。(ponanzaがそうしているらしいという意味で)
|
||||
// ゲームの進行度に合わせたものにしたほうがいいかも知れないけども、その効果のほどは不明。
|
||||
return sigmoid(value / 600.0);
|
||||
// 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);
|
||||
}
|
||||
|
||||
// 普通のシグモイド関数の導関数。
|
||||
|
|
Loading…
Add table
Reference in a new issue