v1.0.0 #755
Replies: 1 comment 2 replies
-
Before I forget: congrats on releasing the new version! Great new features! Might it be though that v1.0.0 is not completely stable yet? I'm asking because I already had a job crash twice since the update, while I did not have such problems before. I didn't open a bug report for this yet because it's a bit difficult to say for sure whether it's due to PySR itself or Julia or something else. One job crashed with this message, after about 5 hours:
And a second job crashed with the following message, after about 11 hours:
In both cases I was running in distributed mode (cluster_manager='slurm'), with 30 CPU cores. The Python script is the same as I was using with previous PySR versions (apart from required changes such as passing the parallelism parameter), when I didn't have these issues. Might it be due to the PySR update that these issues now occur? Or should I look at the environment? (Julia version and so on) |
Beta Was this translation helpful? Give feedback.
-
PySR v1.0.0 Release Notes
PySR 1.0.0 introduces new features for imposing specific functional forms and finding parametric expressions. It also includes TensorBoard support, along with significant updates to the core algorithm, including some important bug fixes. The default hyperparameters have also been updated based on extensive tuning, with a maxsize of 30 rather than 20.
Major New Features
Expression Specifications
PySR 1.0.0 introduces new ways to specify the structure of equations through "Expression Specifications", that expose the new backend feature of
AbstractExpression
:Template Expressions
TemplateExpressionSpec
allows you to define a specific structure for your equations. For example:Parametric Expressions
ParametricExpressionSpec
enables fitting expressions that can adapt to different categories of data with per-category parameters:Improved Logging with TensorBoard
The new
TensorBoardLoggerSpec
enables logging of the search process, as well as hyperparameter recording, which exposes theAbstractSRLogger
feature of the backend:Features logged include:
Algorithm Improvements
Updated Default Parameters
The default hyperparameters have been significantly revised based on testing:
maxsize
from 20 to 30, as I noticed that many people use the defaults, and this maxsize would allow for more accurate expressions.niterations
increased from 40 to 100, also to support better accuracy (at the expense of slightly longer default search times).Core Changes
outputs/<run_id>/
rather than in the directory of execution.Breaking Changes
equation_file
→output_directory
+run_id
parallelism="serial"
rather than the oldmultithreading=False, procs=0
which was unclearDocumentation
The documentation has a new home at https://ai.damtp.cam.ac.uk/pysr/
This discussion was created from the release v1.0.0.
Beta Was this translation helpful? Give feedback.
All reactions