Igor S. Gerasimov commited on
Commit
7b3c762
1 Parent(s): 79398c3

Restore original behaviour

Browse files
Files changed (1) hide show
  1. pysr/sr.py +2 -2
pysr/sr.py CHANGED
@@ -389,7 +389,7 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
389
  Default is `0.47`.
390
  weight_swap_operands : float
391
  Relative likehood for swapping operands in binary operators.
392
- Default is `0.024`.
393
  weight_randomize : float
394
  Relative likelihood for mutation to completely delete and then
395
  randomly generate the equation
@@ -703,7 +703,7 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
703
  weight_do_nothing: float = 0.21,
704
  weight_mutate_constant: float = 0.048,
705
  weight_mutate_operator: float = 0.47,
706
- weight_swap_operands: float = 0.024,
707
  weight_randomize: float = 0.00023,
708
  weight_simplify: float = 0.0020,
709
  weight_optimize: float = 0.0,
 
389
  Default is `0.47`.
390
  weight_swap_operands : float
391
  Relative likehood for swapping operands in binary operators.
392
+ Default is `0.0`.
393
  weight_randomize : float
394
  Relative likelihood for mutation to completely delete and then
395
  randomly generate the equation
 
703
  weight_do_nothing: float = 0.21,
704
  weight_mutate_constant: float = 0.048,
705
  weight_mutate_operator: float = 0.47,
706
+ weight_swap_operands: float = 0.0,
707
  weight_randomize: float = 0.00023,
708
  weight_simplify: float = 0.0020,
709
  weight_optimize: float = 0.0,