From 97761366494360f760fa045938a3d497e188d9a6 Mon Sep 17 00:00:00 2001 From: ltcptgeneral <35508619+ltcptgeneral@users.noreply.github.com> Date: Fri, 6 Mar 2020 21:09:16 -0600 Subject: [PATCH] superscript.py v 0.0.4.002 --- data analysis/__pycache__/data.cpython-37.pyc | Bin 4240 -> 4239 bytes data analysis/superscript.py | 30 ++---------------- 2 files changed, 3 insertions(+), 27 deletions(-) diff --git a/data analysis/__pycache__/data.cpython-37.pyc b/data analysis/__pycache__/data.cpython-37.pyc index 6d3e92a87e9fa4b9cd622c311cce6ee2cd0c83b9..86de3e092dac398ecdc96c06ae44ccdd0ef56e78 100644 GIT binary patch delta 72 zcmbQB*ssXv#LLUY00dq4664GSHuCu}X&bs)#RL@PXQd{W6vvbl85tNE=@yq1C6=V7 aSH`3ymLw`9<|XD-7H1a6Y;I%X;sXHgCKjRq delta 73 zcmeBIoS?|(#LLUY00d3hNpTnXH}d%~=@{u}u+vl;^G4U0caMR diff --git a/data analysis/superscript.py b/data analysis/superscript.py index 70edaa92..3f1a03c6 100644 --- a/data analysis/superscript.py +++ b/data analysis/superscript.py @@ -3,10 +3,12 @@ # Notes: # setup: -__version__ = "0.0.4.001" +__version__ = "0.0.4.002" # changelog should be viewed using print(analysis.__changelog__) __changelog__ = """changelog: + 0.0.4.002: + - removed unessasary code 0.0.4.001: - fixed bug where X range for regression was determined before sanitization - better sanitized data @@ -296,32 +298,6 @@ def metricsloop(tbakey, apikey, competition, timestamp): # listener based metric d.push_team_metrics_data(apikey, competition, team, temp_vector[team]) - """ not functional for now - red_trueskill = [] - blu_trueskill = [] - - red_ts_team_lookup = [] - blu_ts_team_lookup = [] - - for team in red: - - red_trueskill.append((red[team]["ts"]["mu"], red[team]["ts"]["sigma"])) - red_ts_team_lookup.append(team) - - for team in blu: - - blu_trueskill.append((blu[team]["ts"]["mu"], blu[team]["ts"]["sigma"])) - blu_ts_team_lookup.append(team) - - print(red_trueskill) - print(blu_trueskill) - - results = an.trueskill([red_trueskill, blu_trueskill], [observations["red"], observations["blu"]]) - - print(results) - - """ - def load_metrics(apikey, competition, match, group_name): group = {}