Spaces:
Running
Running
Commit
·
780b3a0
1
Parent(s):
2fbf19c
Cleanup
Browse files- pysr/sr.py +1 -2
pysr/sr.py
CHANGED
|
@@ -11,7 +11,6 @@ from pathlib import Path
|
|
| 11 |
from datetime import datetime
|
| 12 |
import warnings
|
| 13 |
from multiprocessing import cpu_count
|
| 14 |
-
from sklearn.linear_model import LinearRegression
|
| 15 |
from sklearn.base import BaseEstimator, RegressorMixin, MultiOutputMixin
|
| 16 |
from sklearn.utils.validation import _check_feature_names_in, check_is_fitted
|
| 17 |
|
|
@@ -836,7 +835,7 @@ class PySRRegressor(BaseEstimator, RegressorMixin, MultiOutputMixin):
|
|
| 836 |
return output
|
| 837 |
|
| 838 |
@property
|
| 839 |
-
def equations(self):
|
| 840 |
warnings.warn(
|
| 841 |
"PySRRegressor.equations is now deprecated. "
|
| 842 |
"Please use PySRRegressor.equations_ instead.",
|
|
|
|
| 11 |
from datetime import datetime
|
| 12 |
import warnings
|
| 13 |
from multiprocessing import cpu_count
|
|
|
|
| 14 |
from sklearn.base import BaseEstimator, RegressorMixin, MultiOutputMixin
|
| 15 |
from sklearn.utils.validation import _check_feature_names_in, check_is_fitted
|
| 16 |
|
|
|
|
| 835 |
return output
|
| 836 |
|
| 837 |
@property
|
| 838 |
+
def equations(self): # pragma: no cover
|
| 839 |
warnings.warn(
|
| 840 |
"PySRRegressor.equations is now deprecated. "
|
| 841 |
"Please use PySRRegressor.equations_ instead.",
|