Skip to main content

Bayesian Machine Scientist theorist for AutoRA

Project description

AutoRA BMS Theorist

autora-theorist-bms is a Python module built on AutoRA that can be used to discover equations that fit data.

Website: https://autoresearch.github.io/autora/

User Guide

You will need:

Install BMS as part of the autora package:

pip install -U "autora[theorist-bms]" --pre

It is recommended to use a python environment manager like virtualenv.

Check your installation by running:

python -c "from autora.theorist.bms import BMSRegressor; BMSRegressor()"

Developer Guide

Get started

Clone the repository (e.g. using GitHub desktop, or the gh command line tool) and install it in "editable" mode in an isolated python environment, (e.g. with virtualenv) as follows:

In the repository root, create a new virtual environment:

virtualenv venv

Activate it:

source venv/bin/activate

Use pip install to install the current project (".") in editable mode (-e) with dev-dependencies ([dev]):

pip install -e ".[dev]"

Run the test cases:

pytest tests/ --doctest-modules src/

Activate the pre-commit hooks:

pre-commit install

Add new dependencies

In pyproject.toml add the new dependencies under dependencies

Install the added dependencies

pip install -e ".[dev]"

Publish the package

Update the metadata under project in the pyproject.toml file to include name, description, author-name, author-email and version

Build the package using:

python -m build

Publish the package to PyPI using twine:

twine upload dist/*

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

autora-theorist-bms-1.0.0a0.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

autora_theorist_bms-1.0.0a0-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file autora-theorist-bms-1.0.0a0.tar.gz.

File metadata

  • Download URL: autora-theorist-bms-1.0.0a0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for autora-theorist-bms-1.0.0a0.tar.gz
Algorithm Hash digest
SHA256 7d2f2c80460c80bb2be7599698f52edce498bb3cb7b7e63579b97afe5d92597d
MD5 4898cde9f5fb3bbf8ccb4f2e7b6ffb7b
BLAKE2b-256 cd08f7458f7385d224c873ee4a0e1aa9d23a4bbc340e033e25a08a7f74a45eea

See more details on using hashes here.

File details

Details for the file autora_theorist_bms-1.0.0a0-py3-none-any.whl.

File metadata

File hashes

Hashes for autora_theorist_bms-1.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 70d03d203ca96c485b25946419dda325a7ed2b8dcc7e6f8658d636d589cb7333
MD5 ea0ff5b0529c901f70e1257fe6b91994
BLAKE2b-256 10c753cdf6ff89fb35aca544ec3ef638fcb2bc0fb73499d40569b25db58397e9

See more details on using hashes here.

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