Skip to content

Commit

Permalink
Restore original behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
foxtran committed Jan 4, 2024
1 parent 79398c3 commit 7b3c762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pysr/sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
Default is `0.47`.
weight_swap_operands : float
Relative likehood for swapping operands in binary operators.
Default is `0.024`.
Default is `0.0`.
weight_randomize : float
Relative likelihood for mutation to completely delete and then
randomly generate the equation
Expand Down Expand Up @@ -703,7 +703,7 @@ def __init__(
weight_do_nothing: float = 0.21,
weight_mutate_constant: float = 0.048,
weight_mutate_operator: float = 0.47,
weight_swap_operands: float = 0.024,
weight_swap_operands: float = 0.0,
weight_randomize: float = 0.00023,
weight_simplify: float = 0.0020,
weight_optimize: float = 0.0,
Expand Down

0 comments on commit 7b3c762

Please sign in to comment.