dustalov commited on
Commit
0e30c54
1 Parent(s): ee1c835

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,13 +52,13 @@ def aggregate(wins: npt.NDArray[np.int64], ties: npt.NDArray[np.int64],
52
 
53
  pi_numerator = np.sum(
54
  (wins + ties / 2) * (pi + v * np.sqrt(pi[:, np.newaxis] * pi)) /
55
- (pi[:, np.newaxis] + pi + 2 * np.sqrt(pi[:, np.newaxis] * pi)),
56
  axis=1
57
  )
58
 
59
  pi_denominator = np.sum(
60
  (wins + ties / 2) * (1 + v * np.sqrt(pi[:, np.newaxis] * pi)) /
61
- (pi[:, np.newaxis] + pi + 2 * np.sqrt(pi[:, np.newaxis] * pi)),
62
  axis=0
63
  )
64
 
 
52
 
53
  pi_numerator = np.sum(
54
  (wins + ties / 2) * (pi + v * np.sqrt(pi[:, np.newaxis] * pi)) /
55
+ (pi[:, np.newaxis] + pi + 2 + v * np.sqrt(pi[:, np.newaxis] * pi)),
56
  axis=1
57
  )
58
 
59
  pi_denominator = np.sum(
60
  (wins + ties / 2) * (1 + v * np.sqrt(pi[:, np.newaxis] * pi)) /
61
+ (pi[:, np.newaxis] + pi + 2 + v * np.sqrt(pi[:, np.newaxis] * pi)),
62
  axis=0
63
  )
64