superscript.py v 0.0.0.004

This commit is contained in:
art 2020-02-19 19:21:48 -06:00
parent 2486927a53
commit d80fef1781

View File

@ -3,10 +3,12 @@
# Notes: # Notes:
# setup: # setup:
__version__ = "0.0.0.003" __version__ = "0.0.0.004"
# changelog should be viewed using print(analysis.__changelog__) # changelog should be viewed using print(analysis.__changelog__)
__changelog__ = """changelog: __changelog__ = """changelog:
0.0.0.004:
- fixed simpleloop to actually return a vector
0.0.0.003: 0.0.0.003:
- added metricsloop which is unfinished - added metricsloop which is unfinished
0.0.0.002: 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"])) 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]) def metricsloop(team_lookup, data, tests): # expects array with [Match] ([Teams], [Win/Loss])
scores = [] scores = []