Skip to main content

Symbolic Regression/Equation Discovery Toolkit

Project description

Symbolic Regression/Equation Discovery Toolkit

Documentation: https://smeznar.github.io/SymbolicRegressionToolkit

This repository provides a Python-based toolkit for equation discovery/symbolic regression. Currently, the toolkit contains code for transforming infix expressions into trees, parameter estimation, performance evaluation for symbolic regression models, generating sets of expressions, benchmarking, ...

Currently, we only support (vanilla) mathematical expressions, however, we provide a simple interface for adding custom symbols. In the future, we might extend our functionality to support more advanced expressions (differential equations, PDEs, ...).

A simple example of how to use the toolkit can be found in the examples folder. Script examples/SR_evaluation_minimal_example.py contains a minimal example of how to use the toolkit for evaluating Symbolic Regression models. Script examples/parameter_estimation_minimal_example.py contains a minimal example of how to use the toolkit for parameter estimation. Lastly, script examples/customization.py shows how we can customize various parts of the toolkit and create executable python functions from infix expressions.

Installation

To install the lastest release of the package, run the following command in your terminal:

pip install symbolic-regression-toolkit

Otherwise, you can install the latest build with the command:

pip install git+https://github.com/smeznar/SymbolicRegressionToolkit

Contributing

Contributions are welcome! If you'd like to contribute to the project, please submit a pull request with a clear description of your changes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

symbolic_regression_toolkit-1.3.3.tar.gz (40.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

symbolic_regression_toolkit-1.3.3-py3-none-any.whl (45.7 kB view details)

Uploaded Python 3

File details

Details for the file symbolic_regression_toolkit-1.3.3.tar.gz.

File metadata

File hashes

Hashes for symbolic_regression_toolkit-1.3.3.tar.gz
Algorithm Hash digest
SHA256 5491f384afe5dcd9689301cc1b4dea15785457289a9454905944e3511f216dc5
MD5 8dd0983389a305d373be6c911482d9fe
BLAKE2b-256 7f760581882642a02542df08af2efaf9676c4ac328367d2d827ab3ef3359321d

See more details on using hashes here.

File details

Details for the file symbolic_regression_toolkit-1.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for symbolic_regression_toolkit-1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c711e7331eab389f3dbc37c36a9f29730903fc8f4ea1a7c18616a655bb0c4a6e
MD5 55cd1f6f2090ad6e0331a22683c2fbec
BLAKE2b-256 38238879316d33d6672058a94f8967bc120085782f1c5ac37373dd1d8833e60a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page