Pysr

Latest version: v0.18.4

Safety actively analyzes 628969 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 11

0.15.0

What's Changed

* Backend version update in https://github.com/MilesCranmer/PySR/pull/389. Includes:
* Dimensional analysis (see docs examples page)
* Printing improvements
* Many misc changes (see below)

Backend Changes

* https://github.com/MilesCranmer/SymbolicRegression.jl/pull/228 and https://github.com/MilesCranmer/SymbolicRegression.jl/pull/230 and https://github.com/MilesCranmer/SymbolicRegression.jl/pull/231 and https://github.com/MilesCranmer/SymbolicRegression.jl/pull/235
- **Dimensional analysis** ([228](https://github.com/MilesCranmer/SymbolicRegression.jl/pull/228))
- Allows you to (softly) constrain discovered expressions to those that respect physical dimensions
- Specify `X_units` and `y_units` (see https://astroautomata.com/PySR/examples/#10-dimensional-constraints)
- **Printing improvements** ([228](https://github.com/MilesCranmer/SymbolicRegression.jl/pull/228))
- By default, only 5 significant digits are now printed, rather than the entire float. You can change this with the `print_precision` option.
- In the default printed equations, `x₁` is used rather than `x1`.
- `y = ` is printed at the start (or `y₁ = ` for multi-output). With units this becomes, for example, `y[kg] =`.
- **Misc**
- Easier to convert from MLJ interface to SymbolicUtils (via `node_to_symbolic(::Node, ::AbstractSRRegressor)`) ([228](https://github.com/MilesCranmer/SymbolicRegression.jl/pull/228))
- Improved precompilation ([228](https://github.com/MilesCranmer/SymbolicRegression.jl/pull/228))
- Various performance and type stability improvements ([228](https://github.com/MilesCranmer/SymbolicRegression.jl/pull/228))
- Inlined the recording option to speedup compilation ([230](https://github.com/MilesCranmer/SymbolicRegression.jl/pull/230))
- Updated Julia tutorials to use MLJ rather than low-level interface ([228](https://github.com/MilesCranmer/SymbolicRegression.jl/pull/228))
- Moved JSON3.jl to extension ([231](https://github.com/MilesCranmer/SymbolicRegression.jl/pull/231))
- Use PackageExtensionsCompat.jl over Requires.jl ([231](https://github.com/MilesCranmer/SymbolicRegression.jl/pull/231))
- Require LossFunctions.jl to be 0.10 ([231](https://github.com/MilesCranmer/SymbolicRegression.jl/pull/231))
- Batching inside optimization loop + batching support for custom objectives by ([235](https://github.com/MilesCranmer/SymbolicRegression.jl/pull/235))
- Update docker defaults: Julia=1.9.1; Python=3.10.11 in https://github.com/MilesCranmer/PySR/pull/371

**Backend Changelog**: https://github.com/MilesCranmer/SymbolicRegression.jl/compare/v0.20.0...v0.21.0

**PySR Changelog**: https://github.com/MilesCranmer/PySR/compare/v0.14.3...v0.15.0

0.14.3

What's Changed
* Self-repairing PyCall installation to lower entrance barrier for new users by MilesCranmer and mkitti in https://github.com/MilesCranmer/PySR/pull/363

**Full Changelog**: https://github.com/MilesCranmer/PySR/compare/v0.14.2...v0.14.3

0.14.2

What's Changed
* Recommend user install with `--enable-shared` by MilesCranmer in https://github.com/MilesCranmer/PySR/pull/352
* Automated update to backend: v0.19.1 by MilesCranmer in https://github.com/MilesCranmer/PySR/pull/355

Backend

[Diff since v0.19.0](https://github.com/MilesCranmer/SymbolicRegression.jl/compare/v0.19.0...v0.19.1)

**Merged pull requests on backend:**
- CompatHelper: bump compat for StatsBase to 0.34, (keep existing compat) (MilesCranmer/SymbolicRegression.jl202) (github-actions[bot])
- (Soft deprecation) change `varMap` to `variable_names` (MilesCranmer/SymbolicRegression.jl219) (MilesCranmer)
- (Soft deprecation) rename `EquationSearch` to `equation_search` (MilesCranmer/SymbolicRegression.jl222) (MilesCranmer)
- Fix equation splitting for unicode variables (MilesCranmer/SymbolicRegression.jl223) (MilesCranmer)


**Full Changelog**: https://github.com/MilesCranmer/PySR/compare/v0.14.1...v0.14.2

0.14.1

What's Changed
* Automated update to backend: v0.19.0 by MilesCranmer in https://github.com/MilesCranmer/PySR/pull/340
* ~30% faster startup time on first search (https://github.com/MilesCranmer/SymbolicRegression.jl/releases/tag/v0.19.0)
* Let user know when compilation is taking place by MilesCranmer in https://github.com/MilesCranmer/PySR/pull/341


**Full Changelog**: https://github.com/MilesCranmer/PySR/compare/v0.14.0...v0.14.1

0.14.0

What's Changed
* Added CLI to run pysr.install() to install Julia dependencies by w2ll2am in https://github.com/MilesCranmer/PySR/pull/298
* Let's you install PySR with `python -m pysr install` rather than `python -c 'import pysr; pysr.install()'`
* This CLI also has other options available (precompilation, Julia project name, etc.)

New Contributors
* w2ll2am made their first contribution in https://github.com/MilesCranmer/PySR/pull/298

**Full Changelog**: https://github.com/MilesCranmer/PySR/compare/v0.13.0...v0.14.0

0.13.0

What's Changed
* Test Julia 1.9 by MilesCranmer in https://github.com/MilesCranmer/PySR/pull/329
* Automated update to backend: v0.18.0 by MilesCranmer in https://github.com/MilesCranmer/PySR/pull/331


Backend changes

[Diff since v0.17.1](https://github.com/MilesCranmer/SymbolicRegression.jl/compare/v0.17.1...v0.18.0)


- Overload ^ if user passes explicitly (MilesCranmer/SymbolicRegression.jl201) (MilesCranmer)
- Upgrade DynamicExpressions to 0.8; LossFunctions to 0.10 (MilesCranmer/SymbolicRegression.jl206) (github-actions[bot])
- Show expressions evaluated per second (MilesCranmer/SymbolicRegression.jl209) (MilesCranmer)
- Cache complexity of expressions whenever possible (MilesCranmer/SymbolicRegression.jl210) (MilesCranmer)


**Full Changelog**: https://github.com/MilesCranmer/PySR/compare/v0.12.3...v0.13.0

Page 5 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.