Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
de2d4ba
1
Parent(s):
d94ce53
Fix uninformative error message for best_row; fixes #100
Browse files- pysr/sr.py +1 -1
pysr/sr.py
CHANGED
@@ -231,7 +231,7 @@ def best(*args, **kwargs):
|
|
231 |
|
232 |
def best_row(*args, **kwargs):
|
233 |
raise NotImplementedError(
|
234 |
-
"`best_row` has been deprecated. Please use the `PySRRegressor` interface. After fitting, you can run `print(model)` to view the best equation."
|
235 |
)
|
236 |
|
237 |
|
|
|
231 |
|
232 |
def best_row(*args, **kwargs):
|
233 |
raise NotImplementedError(
|
234 |
+
"`best_row` has been deprecated. Please use the `PySRRegressor` interface. After fitting, you can run `print(model)` to view the best equation, or `model.get_best()` to return the best equation's row in `model.equations`."
|
235 |
)
|
236 |
|
237 |
|