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 = []