mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2025-09-09 08:07:22 +00:00
converted space indentation to tab indentation
This commit is contained in:
@@ -2,6 +2,6 @@ import numpy as np
|
||||
|
||||
def calculate(starting_score, opposing_score, observed, N, K):
|
||||
|
||||
expected = 1/(1+10**((np.array(opposing_score) - starting_score)/N))
|
||||
expected = 1/(1+10**((np.array(opposing_score) - starting_score)/N))
|
||||
|
||||
return starting_score + K*(np.sum(observed) - np.sum(expected))
|
||||
return starting_score + K*(np.sum(observed) - np.sum(expected))
|
Reference in New Issue
Block a user