Miles Cranmer

Results 287 issues of Miles Cranmer

This makes the README example easier for users to understand and extend. Fixes #2104.

### Feature Request PySR should launch the search process in a thread so that we can watch for stop signals. However, I'm not sure how PySR could forward the stop...

enhancement

Seems like Python 3.12 is stable enough to add to the testing now. Once https://github.com/conda-forge/pysr-feedstock/pull/106 is finished we should be able to merge this.

Thanks to @j-thib for pointing this out, I didn't realize the SymPy maps were not built-in. However this gets fairly complicated as we need to map `sympy.Piecewise` into torch/jax code....

A variety of functions in SymbolicRegression.jl requires the `Options` type as input. This PR saves the `Options` in the `.sr_options_` attribute of PySRRegressor so it's easier to access various functions....

Something I have noticed is that many users expect the result of `.fit(X, y)` to be converged for the default parameters, and are surprised that running it a second time...

community input
priority: high

### Feature Request It would be useful to have some default plot utilities. These could go into `pysr.contrib.plot`, and could have different user-contributed plotting scripts. One I usually like to...

enhancement
priority: mid

### Feature Request Right now sympy2jax is functional. It returns a dictionary containing a function and some parameters. However, sympy2torch is object-oriented. It returns a module. I think the functional...

enhancement
priority: low

This creates an `Expression` class that wraps `SymbolicRegression.Node`. This would make it easier to access various internal methods of `SymbolicRegression`. However, this is very experimental and I'm not sure what...

First mentioned by @villrv in #411 Looks like it shows up sometimes for me as well. For example: ```python File "/Users/mcranmer/Documents/PySR/.venv/bin/ipython", line 8, in sys.exit(start_ipython()) File "/Users/mcranmer/Documents/PySR/.venv/lib/python3.10/site-packages/IPython/__init__.py", line 129, in...

bug