MilesCranmer / PySR

High-Performance Symbolic Regression in Python and Julia
https://astroautomata.com/PySR
Apache License 2.0
2.09k stars 197 forks source link

Warn user when using power laws #399

Closed MilesCranmer closed 11 months ago

MilesCranmer commented 11 months ago

It is a common mistake users seem to make that they allow for power laws without setting any constraints on complexity of their arguments. This change will trigger a warning when this happens, and also point the user to the docs for more information.