MilesCranmer commited on
Commit
a2862ab
1 Parent(s): 66b15fc

Add additional deprecation for best_row

Browse files
Files changed (1) hide show
  1. pysr/sr.py +3 -0
pysr/sr.py CHANGED
@@ -189,6 +189,9 @@ def _escape_filename(filename):
189
  def best(*args, **kwargs):
190
  raise NotImplementedError("`best` has been deprecated. Please use the `PySRRegressor` interface. After fitting, you can return `.sympy()` to get the sympy representation of the best equation.")
191
 
 
 
 
192
  def best_tex(*args, **kwargs):
193
  raise NotImplementedError("`best_tex` has been deprecated. Please use the `PySRRegressor` interface. After fitting, you can return `.latex()` to get the sympy representation of the best equation.")
194
 
 
189
  def best(*args, **kwargs):
190
  raise NotImplementedError("`best` has been deprecated. Please use the `PySRRegressor` interface. After fitting, you can return `.sympy()` to get the sympy representation of the best equation.")
191
 
192
+ def best_row(*args, **kwargs):
193
+ raise NotImplementedError("`best_row` has been deprecated. Please use the `PySRRegressor` interface. After fitting, you can run `print(model)` to view the best equation.")
194
+
195
  def best_tex(*args, **kwargs):
196
  raise NotImplementedError("`best_tex` has been deprecated. Please use the `PySRRegressor` interface. After fitting, you can return `.latex()` to get the sympy representation of the best equation.")
197