Skip to main content

Differentiable Architecture Search theorist for AutoRA

Project description

AutoRA DARTS Theorist

autora-theorist-darts is a Python module for fitting data using differentiable architecture search, built on AutoRA.

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

User Guide

You will need:

Install DARTS as part of the autora package:

pip install -U "autora[theorist-darts]"

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

Check your installation by running:

python -c "from autora.theorist.darts import DARTSRegressor; DARTSRegressor()"

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-darts-1.0.0a1.tar.gz (1.1 MB view hashes)

Uploaded Source

Built Distribution

autora_theorist_darts-1.0.0a1-py3-none-any.whl (31.6 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