Skip to content

Commit 496a9b6

Browse files
authored
Merge pull request #3 from onlaj/glicko2
Glicko2
2 parents f61fb9b + 59cbb30 commit 496a9b6

File tree

6 files changed

+379
-133
lines changed

6 files changed

+379
-133
lines changed

core/glicko2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Glicko2Rating:
77
Usage mirrors the Elo Rating class.
88
"""
99

10-
MU = 1500
10+
MU = 1200
1111
PHI = 350
1212
SIGMA = 0.06
1313
TAU = 1.0
@@ -60,7 +60,7 @@ def get_new_ratings(self) -> dict:
6060
class Glicko2Core:
6161
"""Core Glicko-2 implementation"""
6262

63-
def __init__(self, mu=1500, phi=350, sigma=0.06, tau=1.0, epsilon=0.000001):
63+
def __init__(self, mu=1200, phi=350, sigma=0.06, tau=1.0, epsilon=0.000001):
6464
self.mu = mu
6565
self.phi = phi
6666
self.sigma = sigma

0 commit comments

Comments
 (0)