From 1019fb72d5d1580a9f80325044b031fcfc54c24c Mon Sep 17 00:00:00 2001 From: art Date: Fri, 4 Oct 2019 08:13:28 -0500 Subject: [PATCH] analysis.py v 1.1.3.001 --- data analysis/analysis/analysis.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/data analysis/analysis/analysis.py b/data analysis/analysis/analysis.py index 6170d322..b55012c4 100644 --- a/data analysis/analysis/analysis.py +++ b/data analysis/analysis/analysis.py @@ -7,10 +7,12 @@ # current benchmark of optimization: 1.33 times faster # setup: -__version__ = "1.1.3.000" +__version__ = "1.1.3.001" # changelog should be viewed using print(analysis.__changelog__) __changelog__ = """changelog: +1.1.3.001: + - changed glicko2() to return tuple instead of array 1.1.3.000: - added glicko2_engine class and glicko() - verified glicko2() accuracy @@ -316,7 +318,7 @@ def gliko2(opp_ratings, opp_rd, observations, rating = 1500, rd = 350, vol = 0.0 player.update_player([x for x in opp_ratings], [x for x in opp_rd], observations) - return [player.rating, player.rd, player.vol] + return (player.rating, player.rd, player.vol) @jit(forceobj=True) def r_squared(predictions, targets): # assumes equal size inputs