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

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for symbolic_regression_toolkit-1.3.1.tar.gz
Algorithm Hash digest
SHA256 475fc709e13d2106c3f8a2d1bf863dc31c1df1e9d266ea9a28ff307cd220f078
MD5 ae97b17698d279714d7ae831f12a5316
BLAKE2b-256 7d2cdf0d313cf5efa651a326dbc45950ed7e7d8fd26605fe41a2e7617daad43d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for symbolic_regression_toolkit-1.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f6a6f5ea294ad807895a86b4574beb96fc7d4669fffd5a9b8e092883040ab8eb
MD5 10c66ef74ba78375d792fff0d0e16093
BLAKE2b-256 4f7f524fdcaf3f5a7524fd337336f6befc9d2637e075ecd29674dbf9c66f709f

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