Skip to content

Commit 208c0d9

Browse files
committed
default param for eps-greedy and PEP8 fixed
1 parent 189d692 commit 208c0d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

slots/slots.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ def run(self, trials=100, strategy='eps_greedy', parameters=None):
107107

108108
if trials < 1:
109109
raise Exception('MAB.run: Number of trials cannot be less than 1!')
110-
# if not strategy:
111-
# strategy = 'eps_greedy'
110+
112111
else:
113112
if strategy not in self.strategies:
114113
raise Exception('MAB,run: Strategy name invalid. Choose from:'

0 commit comments

Comments
 (0)