mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
superscript.py v 0.0.0.004
This commit is contained in:
parent
2486927a53
commit
d80fef1781
@ -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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user