Skip to content

Commit 4136df6

Browse files
committed
Glicko-2 converges within 1000 iterations or something is wrong
As described in http://glicko.net/glicko/glicko2.pdf with 15 games per period: The main iteration of the Illinois algorithm to narrow the bracket around ln(σ02) is reasonably quick. From simulation analyses, the median number of iterations to narrow the bracket to a width of less than ε = 0.000001 was 5, with a mean of 5.6, and a maximum of 19 (in 10000 simulations).
1 parent 34d775c commit 4136df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/rating/src/main/java/glicko2/RatingCalculator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class RatingCalculator {
2525
private final static double DEFAULT_TAU = 0.75;
2626
private final static double MULTIPLIER = 173.7178;
2727
private final static double CONVERGENCE_TOLERANCE = 0.000001;
28-
private final static int ITERATION_MAX = 3000;
28+
private final static int ITERATION_MAX = 1000;
2929
private final static double DAYS_PER_MILLI = 1.0 / (1000 * 60 * 60 * 24);
3030

3131
private final double tau; // constrains volatility over time

0 commit comments

Comments
 (0)