Download the PHP package horaceho/ers without Composer
On this page you can find all versions of the php package horaceho/ers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package ers
ERS (EGF Rating System)
The rating algorithm was updated starting 2021. The whole database from back in 1996 was recalculated with this algorithm. You can find the old algorithm here.
- Ratings are updated by:
r' = r + con * (Sa - Se) + bonus ris the old EGD rating (GoR) of the playerr'is the new EGD rating of the playerSais the actual game result (1.0 = win, 0.5 = jigo, 0.0 = loss)Seis the expected game result as a winning probability (1.0 = 100%, 0.5 = 50%, 0.0 = 0%). See further below for its computation.conis a factor that determines rating volatility (similar to K in regular Elo rating systems):con = ((3300 - r) / 200) ^ 1.6bonus(not found in regular Elo rating systems) is a term included to counter rating deflation:bonus = ln(1 + exp((2300 - rating) / 80)) / 5Seis computed by the Bradley-Terry formula:Se = 1 / (1 + exp(β(r2) - β(r1)))r1is the EGD rating of the playerr2is the EGD rating of the opponentβis a mapping function for EGD ratings:β = -7 * ln(3300 - r)
Usage
Test
All versions of ers with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package horaceho/ers contains the following files
Loading the files please wait ...