mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-13 22:56:18 +00:00
analysis pkg v 1.0.0.9
This commit is contained in:
parent
893d1fb1d0
commit
375befd0c4
@ -1,6 +1,6 @@
|
|||||||
Metadata-Version: 2.1
|
Metadata-Version: 2.1
|
||||||
Name: analysis
|
Name: analysis
|
||||||
Version: 1.0.0.8
|
Version: 1.0.0.9
|
||||||
Summary: analysis package developed by Titan Scouting for The Red Alliance
|
Summary: analysis package developed by Titan Scouting for The Red Alliance
|
||||||
Home-page: https://github.com/titanscout2022/tr2022-strategy
|
Home-page: https://github.com/titanscout2022/tr2022-strategy
|
||||||
Author: The Titan Scouting Team
|
Author: The Titan Scouting Team
|
||||||
|
@ -7,10 +7,12 @@
|
|||||||
# current benchmark of optimization: 1.33 times faster
|
# current benchmark of optimization: 1.33 times faster
|
||||||
# setup:
|
# setup:
|
||||||
|
|
||||||
__version__ = "1.1.13.006"
|
__version__ = "1.1.13.007"
|
||||||
|
|
||||||
# changelog should be viewed using print(analysis.__changelog__)
|
# changelog should be viewed using print(analysis.__changelog__)
|
||||||
__changelog__ = """changelog:
|
__changelog__ = """changelog:
|
||||||
|
1.1.13.007:
|
||||||
|
- fixed bug with trueskill
|
||||||
1.1.13.006:
|
1.1.13.006:
|
||||||
- cleaned up imports
|
- cleaned up imports
|
||||||
1.1.13.005:
|
1.1.13.005:
|
||||||
@ -461,13 +463,13 @@ def trueskill(teams_data, observations): # teams_data is array of array of tuple
|
|||||||
team_ratings = []
|
team_ratings = []
|
||||||
|
|
||||||
for team in teams_data:
|
for team in teams_data:
|
||||||
team_temp = []
|
team_temp = ()
|
||||||
for player in team:
|
for player in team:
|
||||||
player = Trueskill.Rating(player[0], player[1])
|
player = Trueskill.Rating(player[0], player[1])
|
||||||
team_temp.append(player)
|
team_temp = team_temp + (player,)
|
||||||
team_ratings.append(team_temp)
|
team_ratings.append(team_temp)
|
||||||
|
|
||||||
return Trueskill.rate(teams_data, observations)
|
return Trueskill.rate(team_ratings, ranks=observations)
|
||||||
|
|
||||||
class RegressionMetrics():
|
class RegressionMetrics():
|
||||||
|
|
||||||
|
BIN
analysis-master/dist/analysis-1.0.0.9-py3-none-any.whl
vendored
Normal file
BIN
analysis-master/dist/analysis-1.0.0.9-py3-none-any.whl
vendored
Normal file
Binary file not shown.
BIN
analysis-master/dist/analysis-1.0.0.9.tar.gz
vendored
Normal file
BIN
analysis-master/dist/analysis-1.0.0.9.tar.gz
vendored
Normal file
Binary file not shown.
@ -2,7 +2,7 @@ import setuptools
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="analysis", # Replace with your own username
|
name="analysis", # Replace with your own username
|
||||||
version="1.0.0.008",
|
version="1.0.0.009",
|
||||||
author="The Titan Scouting Team",
|
author="The Titan Scouting Team",
|
||||||
author_email="titanscout2022@gmail.com",
|
author_email="titanscout2022@gmail.com",
|
||||||
description="analysis package developed by Titan Scouting for The Red Alliance",
|
description="analysis package developed by Titan Scouting for The Red Alliance",
|
||||||
|
Loading…
Reference in New Issue
Block a user