Skip to main content

Using the latent space of a variational autoencoder to perform symbolic regression by sampling equations.

Project description

Variational Autoencoder Embeddings Symbolic Regression (VAEESR)

This python package performs Symbolic Regression by creating an Embedding where semantically similar equations are close to each other and it uses MCMC sampling to find the equation that is the closest to the oberved data. Therefore, is uses three main functions:

  1. create_dataset which creates a customizable dataset that can be ajusted for the specific problem at hand. The main parameters are: The x_values for which the functions are evaluated, the range of constants, the maximum tree depth, the possible operators and functions and the total number of equations in the dataset.

  2. create_autoencoder which trains an autoencoder with the dataset. The some hyperparameters can be ajdusted as well.

  3. perform_MCMC which performs the symbolic regression by sampling equations from the autoencoder embedding.

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

vaeesr-0.0.1.tar.gz (15.8 kB view hashes)

Uploaded Source

Built Distribution

vaeesr-0.0.1-py3-none-any.whl (17.3 kB view hashes)

Uploaded Python 3

Supported by

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