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, and performance evaluation for symbolic regression models.

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 package, run the following command in your terminal:

pip install symbolic-regression-toolkit

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.2.0.tar.gz (32.8 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.2.0-py2.py3-none-any.whl (44.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for symbolic_regression_toolkit-1.2.0.tar.gz
Algorithm Hash digest
SHA256 e805bad0709e05bc8e0665bf28e9687abdb517da0224e126bc44882c94bc77e1
MD5 ac3854a5b908f0e0618c24455119cce5
BLAKE2b-256 56bd95fdb69d3fe494e9d4ce680e46d4fd73361c3f45f91a161f5d2f2b3c968d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for symbolic_regression_toolkit-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8425def0a55ab01f5a22465a4d255f8898c2234e551bda2a5b7a86fa16cc7052
MD5 3404b36aca03c268a077bccc5ac623d1
BLAKE2b-256 d1264d12b997de856c556e82aeaead6ab7be0da4f5d1a34837ea90fb5e2ef4e2

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