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.0.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.0-py2.py3-none-any.whl (53.9 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for symbolic_regression_toolkit-1.3.0.tar.gz
Algorithm Hash digest
SHA256 8a1e6d45f8082a2b84c16db72d555bb9ffd5c9e4a672ae5991273ab7202306bd
MD5 7ca3f96552371eaaf45d486e4c0a6a5d
BLAKE2b-256 8a628a30ef2503ba992aa66e80b92d05bda5ba3acf9337ad49ad75a2817882aa

See more details on using hashes here.

File details

Details for the file symbolic_regression_toolkit-1.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for symbolic_regression_toolkit-1.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fa994a0cd30c535516ac1dd909f0b095f29a38095a3496366ade4b7a70599906
MD5 113e383dc8e3b77e1f7646bb05cd6ca3
BLAKE2b-256 2c60cca7bcd1082a1baf3b0301c3dca97184f5cc1848869d4d2341a77302afb2

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