From de9d151ad65ad104549007841a38691c39a30ef0 Mon Sep 17 00:00:00 2001 From: art Date: Wed, 19 Feb 2020 19:21:48 -0600 Subject: [PATCH] superscript.py v 0.0.0.004 --- data analysis/superscript.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/data analysis/superscript.py b/data analysis/superscript.py index 238891e7..046f77fb 100644 --- a/data analysis/superscript.py +++ b/data analysis/superscript.py @@ -3,10 +3,12 @@ # Notes: # setup: -__version__ = "0.0.0.003" +__version__ = "0.0.0.004" # changelog should be viewed using print(analysis.__changelog__) __changelog__ = """changelog: + 0.0.0.004: + - fixed simpleloop to actually return a vector 0.0.0.003: - added metricsloop which is unfinished 0.0.0.002: @@ -80,6 +82,12 @@ def simpleloop(data, tests): # expects 3D array with [Team][Variable][Match] variable_vector.append(an.regression("cpu", range(0, len(variable) - 1), variable, ["sig"])) + team_vector.append(variable_vector) + + return_vector.append(team_vector) + + return return_vector + def metricsloop(team_lookup, data, tests): # expects array with [Match] ([Teams], [Win/Loss]) scores = []