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.2.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.2-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.2.tar.gz.

File metadata

File hashes

Hashes for symbolic_regression_toolkit-1.3.2.tar.gz
Algorithm Hash digest
SHA256 92d874d981d78245520072c1a4640de0187d005bd606239709710cb3b2eff648
MD5 709e333d4c11c9afa98e6167652601ea
BLAKE2b-256 80ad5de613a06cb8230cf32444e63e4d3a9ab26a7283cfbee39ea56a915393cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for symbolic_regression_toolkit-1.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c3eb618315b3cce67e896fdb58d0c94e7e922b82e8236247a7e266eb07a0ab37
MD5 9d105beabc3a068cbbb58d8b6a4071f1
BLAKE2b-256 8b45cf83369d72ae0095939e7b31b6a2190b0fe7ba367ffb9672bdf17b3036b3

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