-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bandit): improve performance of priority updates and arm addition
- Replaced lambda-based priority updates with `numpy.vectorize` for better performance in `update_priority`. - Added a check to prevent unnecessary `pd.concat` calls in `add_arms` if the arm list is empty. - Introduced validation for empty actions in `EvaluationMetricBandit.pull`.
- Loading branch information
1 parent
ffc5670
commit 343f0b8
Showing
1 changed file
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters