File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -612,8 +612,8 @@ def __init__(
612612 exploration_decay_delay : int | None = None ,
613613 random_state : int | RandomState | None = None ,
614614 ) -> None :
615- if xi <= 0 :
616- error_msg = "xi must be greater than 0."
615+ if xi < 0 :
616+ error_msg = "xi must be greater than equal to 0."
617617 raise ValueError (error_msg )
618618 if exploration_decay is not None and not (0 < exploration_decay <= 1 ):
619619 error_msg = "exploration_decay must be greater than 0 and less than or equal to 1."
@@ -798,8 +798,8 @@ def __init__(
798798 exploration_decay_delay : int | None = None ,
799799 random_state : int | RandomState | None = None ,
800800 ) -> None :
801- if xi <= 0 :
802- error_msg = "xi must be greater than 0."
801+ if xi < 0 :
802+ error_msg = "xi must be greater than equal to 0."
803803 raise ValueError (error_msg )
804804 if exploration_decay is not None and not (0 < exploration_decay <= 1 ):
805805 error_msg = "exploration_decay must be greater than 0 and less than or equal to 1."
You can’t perform that action at this time.
0 commit comments