mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 01:59:08 +00:00
quick fix
This commit is contained in:
parent
b2ce781961
commit
1cdeab4b6b
@ -312,6 +312,7 @@ def elo(starting_score, opposing_scores, observed, N, K):
|
|||||||
|
|
||||||
return starting_score + K*(np.sum(observed) - np.sum(expected))
|
return starting_score + K*(np.sum(observed) - np.sum(expected))
|
||||||
|
|
||||||
|
@jit(forceobj=True)
|
||||||
def gliko2(starting_score, starting_rd, starting_vol, opposing_scores, opposing_rd, observations):
|
def gliko2(starting_score, starting_rd, starting_vol, opposing_scores, opposing_rd, observations):
|
||||||
|
|
||||||
player = gliko2_engine(rating = starting_score, rd = starting_rd, vol = starting_vol)
|
player = gliko2_engine(rating = starting_score, rd = starting_rd, vol = starting_vol)
|
||||||
|
Loading…
Reference in New Issue
Block a user