MCPcopy Index your code
hub / github.com/augerai/a2ml

github.com/augerai/a2ml @v1.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.0 ↗ · + Follow
1,482 symbols 5,925 edges 174 files 137 documented · 9%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

a2ml - Automation of AutoML

CircleCI Join the chat License Python PyPI - A2ML Versions

The A2ML ("Automate AutoML") project is a Python API and set of command line tools to automate Automated Machine Learning tools from multiple vendors. The intention is to provide a common API for all Cloud-oriented AutoML vendors. Data scientists can then train their datasets against multiple AutoML models to get the best possible predictive model. May the best "algorithm/hyperparameter search" win. Full documentation for A2ML is available at a2ml.org

The PREDIT Pipeline

Every AutoML vendor has their own API to manage the datasets and create and manage predictive models. They are similar but not identical APIs. But they share a common set of stages:

  • Importing data for training
  • Train models with multiple algorithms and hyperparameters
  • Evaluate model performance and choose one or more for deployment
  • Deploy selected models
  • Predict results with new data against deployed models
  • Review performance of deployed models

Since ITEDPR is hard to remember we refer to this pipeline by its conveniently mnemonic anagram: "PREDIT" (French for "predict"). The A2ML project provides classes which implement this pipeline for various Cloud AutoML providers and a command line interface that invokes stages of the pipeline.

Setup

A2ML is distributed as a python package, so to install it:

$ pip install -U a2ml

It will install Auger provider.

To use Azure AutoML:

Mac:

$ brew install libomp

For Mac OS High Sierra and below:

$ SKLEARN_NO_OPENMP=1 pip install "scikit-learn==0.21.3"
$ pip install "a2ml[azure]" --ignore-installed onnxruntime onnx nimbusml

Linux:

$ apt-get update && apt-get -y install gcc g++ libgomp1
$ pip install "a2ml[azure]"

To use Google Cloud:

$ pip install "a2ml[google]"

To install everything including testing and server code:

$ pip install "a2ml[all]"

Development

To release a new version the flow should be:

  1. Change the __version__ variable in a2ml/__init__.py to match what you want to release, minus the "v". By default it would be ".dev0", for example "0.3.0.dev0". This ensures we don’t accidentally release a dev version to pypi.org. So for when we’re ready to release 0.3.0, the __version__ variable should simply be "0.3.0".

  2. Commit and push the changes above.

git tag v<the-version> (for example: git tag v0.3.0)
git push --tags
  1. verify circleci build passed and docker image tag exists:
pip install -U a2ml==0.3.0
docker pull augerai/a2ml:v0.3.0
  1. Increment the __version__ variable in a2ml/__init__.py to the next version in the current milestone. For example, "0.3.1.dev0"

Core symbols most depended-on inside this repo

get
called by 879
a2ml/api/utils/config.py
log
called by 162
a2ml/api/utils/context.py
set
called by 102
a2ml/api/utils/config.py
eat
called by 42
a2ml/api/roi/parser.py
properties
called by 40
a2ml/api/auger/impl/cloud/base.py
keys
called by 39
a2ml/api/utils/config.py
evaluate
called by 32
a2ml/api/roi/base_interpreter.py
write
called by 28
a2ml/api/utils/config.py

Shape

Method 987
Function 327
Class 152
Route 16

Languages

Python100%

Modules by API surface

a2ml/api/roi/parser.py71 symbols
a2ml/api/utils/s3_fsclient.py56 symbols
tests/model_review/test_model_review.py49 symbols
a2ml/api/utils/fsclient.py47 symbols
a2ml/api/utils/dataframe.py41 symbols
a2ml/tasks_queue/tasks_hub_api.py40 symbols
a2ml/api/model_review/model_review.py35 symbols
a2ml/tasks_queue/tasks_api.py34 symbols
tests/tasks_queue/test_tasks_hub_api.py26 symbols
a2ml/api/stats/feature_divergence.py26 symbols
a2ml/api/roi/lexer.py26 symbols
a2ml/api/utils/config.py25 symbols

Datastores touched

dbnameDatabase · 1 repos

For agents

$ claude mcp add a2ml \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page