Skip to content

Releases: MilesCranmer/PySR

v2.0.0a1

08 Oct 22:01
b56c0fe

Choose a tag to compare

v2.0.0a1 Pre-release
Pre-release

This is an alpha release of v2.0.0. There will still be changes before the release of v2.0.0, likely including new hyperparameter defaults.

What's Changed

Major changes

Multiple features (update backend to 2.0) (#999)

This PR updates the backend to SymbolicRegression.jl 2.0.0-alpha.8 and exposes several major new features:

  • N-ary operators: Support for operators with arbitrary arity (not just unary/binary)
    • Added 3-arity operators: fma (fused multiply-add), clamp, etc.
    • This can be used via a new operators parameter dictionary: operators={1: ["sin"], 2: ["+", "*"], 3: ["clamp"]}
  • Equation guesses: Pass initial equation guesses to guide the search using the guesses parameter to fit
    • For example: guesses=["sin(x0 * 2.1 - 0.5)", "x0 * 3.0 + x2"] provides two guesses
    • Control injection rate with fraction_replaced_guesses
  • Advanced autodiff backends: Experimental support for Mooncake.jl and Enzyme.jl
    • Enzyme.jl support via autodiff_backend="Enzyme" (fragile/experimental)
    • Mooncake.jl (experimental - currently disabled pending upstream fix)
  • Feature node mutation: New mutation operator that directly modifies which features are used
    • Control mutation weight with weight_mutate_feature
  • Worker management:
    • worker_imports: specify Julia packages to import on workers
    • worker_timeout: control timeout for worker processes

Automatic batching for big data (#1045)

Other changes

Full Changelog: v1.5.9...v2.0.0a1

v1.5.9

15 Jul 20:07
c64ab94

Choose a tag to compare

What's Changed

Full Changelog: v1.5.8...v1.5.9

v1.5.8

20 May 15:59
a23b847

Choose a tag to compare

What's Changed

Full Changelog: v1.5.7...v1.5.8

v1.5.7

19 May 06:37
c1cd306

Choose a tag to compare

What's Changed

Full Changelog: v1.5.6...v1.5.7

v1.5.6

04 May 22:11
7d63938

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.5...v1.5.6

v1.5.5

02 Apr 11:01
a599d55

Choose a tag to compare

What's Changed

Full Changelog: v1.5.4...v1.5.5

v1.5.4

01 Apr 13:51
e1bf578

Choose a tag to compare

What's Changed

Full Changelog: v1.5.3...v1.5.4

v1.5.3

28 Mar 16:51
0465b49

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.2...v1.5.3

v1.5.2

05 Mar 14:17
871a710

Choose a tag to compare

What's Changed

Full Changelog: v1.5.1...v1.5.2

v1.5.1

01 Mar 18:46
7469250

Choose a tag to compare

What's Changed

Full Changelog: v1.5.0...v1.5.1