Published May 8, 2022
| Version v0.8.0
Software
Open
MilesCranmer/PySR: v0.8.0
Authors/Creators
- 1. Princeton University
- 2. Center for Data Science, New York University
- 3. @deepsourcelabs
Description
This new release updates the entire set of default PySR parameters according to the ones presented in https://github.com/MilesCranmer/PySR/discussions/115. These parameters have been tuned over nearly 71,000 trials. See the discussion for further info.
Additional changes:
- Nested constraints implemented. For example, you can now prevent
sinandcosfrom being repeatedly nested, by using the argument:nested_constraints={"sin": {"sin": 0, "cos": 0}, "cos": {"sin": 0, "cos": 0}}. This argument states that within asinoperator, you can only have a max depth of 0 for othersinorcos. The same is done forcos. The argumentnested_constraints={"^": {"+": 2, "*": 1, "^": 0}}states that within a pow operator, you can only have 2 things added, or 1 use of multiplication (i.e., no double products), and zero other pow operators. This helps a lot with finding interpretable expressions! - New parsimony algorithm (backend change). This seems to help searches quite a bit, especially when one is searching for more complex expressions. This is turned on by
use_frequency_in_tournamentwhich is now the default. - Many backend improvements: speed, bug fixes, etc.
- Improved stability of multi-processing (backend change). Thanks to @CharFox1.
- Auto-differentiation implemented (backend change). This isn't used by default in any instances right now, but could be used by optimization later. Thanks to @kazewong.
- Improved testing coverage of weird edge cases.
- All parameters to PySRRegressor have been cleaned up to be in snake_case rather than CamelCase. The backend is also now almost entirely snake_case for internal functions. +Other readability improvements. Thanks to @bstollnitz and @patrick-kidger for the suggestions.
Files
MilesCranmer/PySR-v0.8.0.zip
Files
(854.4 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:7c2fdfda0ba9d9072f890c74852e133c
|
854.4 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/MilesCranmer/PySR/tree/v0.8.0 (URL)