Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxHalford committed May 25, 2023
1 parent 41e9253 commit f1dff70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions river/bandit/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ class Policy(base.Base, abc.ABC):
reward_obj
The reward object used to measure the performance of each arm. This can be a metric, a
statistic, or a distribution.
reward_scaler
A reward scaler used to scale the rewards before they are fed to the reward object. This
can be useful to scale the rewards to a (0, 1) range for instance.
burn_in
The number of steps to use for the burn-in phase. Each arm is given the chance to be pulled
during the burn-in phase. This is useful to mitigate selection bias.
Expand Down

0 comments on commit f1dff70

Please sign in to comment.