mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
quick fix
This commit is contained in:
parent
ab8a796f58
commit
469dcd0ce2
@ -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