Update _algos.py
Browse files
_algos.py
CHANGED
|
@@ -19,7 +19,6 @@ class ThompsonBandit(GreedyBandit):
|
|
| 19 |
def __init__(self):
|
| 20 |
super().__init__()
|
| 21 |
|
| 22 |
-
@staticmethod
|
| 23 |
def predict(self):
|
| 24 |
estimated_win_prob = RNG.beta(self.a, self.b) # random draw from beta(a, b)
|
| 25 |
return estimated_win_prob
|
|
|
|
| 19 |
def __init__(self):
|
| 20 |
super().__init__()
|
| 21 |
|
|
|
|
| 22 |
def predict(self):
|
| 23 |
estimated_win_prob = RNG.beta(self.a, self.b) # random draw from beta(a, b)
|
| 24 |
return estimated_win_prob
|