Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
a828c23
1
Parent(s):
3712b0e
Tidy up code
Browse files- pysr/sr.py +1 -1
pysr/sr.py
CHANGED
@@ -763,7 +763,7 @@ class PySRRegressor(BaseEstimator, RegressorMixin, MultiOutputMixin):
|
|
763 |
setattr(self, updated_kwarg_name, v)
|
764 |
warnings.warn(
|
765 |
f"{k} has been renamed to {updated_kwarg_name} in PySRRegressor. "
|
766 |
-
|
767 |
FutureWarning,
|
768 |
)
|
769 |
# Handle kwargs that have been moved to the fit method
|
|
|
763 |
setattr(self, updated_kwarg_name, v)
|
764 |
warnings.warn(
|
765 |
f"{k} has been renamed to {updated_kwarg_name} in PySRRegressor. "
|
766 |
+
" Please use that instead.",
|
767 |
FutureWarning,
|
768 |
)
|
769 |
# Handle kwargs that have been moved to the fit method
|