You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if there is an epsilon > 0, and low numbers of context provided can result in nonrandom_indices being empty and therefore the predict method results in an error.
A simple fix would be to add "if len(nonrandom_context):" in the preceeding line.
The text was updated successfully, but these errors were encountered:
emanuele
added a commit
to emanuele/mabwiser
that referenced
this issue
Oct 29, 2024
Line 242 of mabwiser.linear.py
if there is an epsilon > 0, and low numbers of context provided can result in nonrandom_indices being empty and therefore the predict method results in an error.
A simple fix would be to add "if len(nonrandom_context):" in the preceeding line.
The text was updated successfully, but these errors were encountered: