Skip to content

Commit

Permalink
fix n_rounds of bandit_feedback_test
Browse files Browse the repository at this point in the history
  • Loading branch information
usaito committed Feb 22, 2021
1 parent 5c122f7 commit 98d2432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obp/dataset/real.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def obtain_batch_bandit_feedback(
action_context=self.action_context,
)
bandit_feedback_test = dict(
n_rounds=n_rounds_train,
n_rounds=(self.n_rounds - n_rounds_train),
n_actions=self.n_actions,
action=self.action[n_rounds_train:],
position=self.position[n_rounds_train:],
Expand Down

0 comments on commit 98d2432

Please sign in to comment.