AutonML : CMU's AutoML System
Project description
CMU TA2 (Built using DARPA D3M ecosystem)
Auton ML is an automated machine learning system developed by CMU Auton Lab to power data scientists with efficient model discovery and advanced data analytics. Auton ML also powers the D3M Subject Matter Expert (SME) User Interfaces such as Two Ravens http://2ra.vn/.
Taking your machine learning capacity to the nth power.
D3M dataset
- Any dataset to be used should be in D3M dataset format (directory structure with TRAIN, TEST folders and underlying .json files).
- Example available of a single dataset here
- More datasets available here
- Any non-D3M data can be converted to D3M dataset. (See section below on "Convert raw dataset to D3M dataset").
Run in search mode
We can run the AutonML pipeline in two ways. It be run as a standalone CLI command, accessed via the autonml_main
command. This command takes five arguments, listed below:
- Path to the data directory (must be in D3M format)
- Output directory where results are to be stored. This directory will be dynamically created if it does not exist.
- Timeout (measured in minutes)
- Number of CPUs to be used
- Path to
problemDoc.json
(see example below)
INPUT_DIR=/home/<user>/d3m/datasets/185_baseball_MIN_METADATA
OUTPUT_DIR=/output
TIMEOUT=2
NUMCPUS=8
PROBLEMPATH=${INPUT_DIR}/TRAIN/problem_TRAIN/problemDoc.json
autonml_main ${INPUT_DIR} ${OUTPUT_DIR} ${TIMEOUT} ${NUMCPUS} ${PROBLEMPATH}
The above script will do the following-
- Run search for best pipelines for the specified dataset using TRAIN data.
- JSON pipelines (with ranks) will be output in JSON format at /output/<search_dir>/pipelines_ranked/
- CSV prediction files of the pipelines trained on TRAIN data and predicted on TEST data will be available at /output/<search_dir>/predictions/
- Training data predictions (cross-validated mostly) are produced in the current directory as /output/<search_dir>/training_predictions/<pipeline_id>_train_predictions.csv.
- Python code equivalent of executing a JSON pipeline on a dataset produced at /output/<search_dir>/executables/
An example -
python ./output/6b92f2f7-74d2-4e86-958d-4e62bbd89c51/executables/131542c6-ea71-4403-9c2d-d899e990e7bd.json.code.py 185_baseball predictions.csv
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file autonml-0.1.4.tar.gz
.
File metadata
- Download URL: autonml-0.1.4.tar.gz
- Upload date:
- Size: 87.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00307910d18c15fdd27242090f3c5c59dd336dd38cfba4722d027aa1324234ff |
|
MD5 | 4e7844641342109875fe4d283879faee |
|
BLAKE2b-256 | 2b3582c0f07a26144416730f7a16cf08755de6b365680f3d1de9e79e2c03f811 |
File details
Details for the file autonml-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: autonml-0.1.4-py3-none-any.whl
- Upload date:
- Size: 84.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 300d70be74bab16738412c23d651d3e56d362d1ad76fea57a4939a46ef3dc54e |
|
MD5 | 772463291bc47ba91c5d60681efaab3c |
|
BLAKE2b-256 | be8f8dfcce4af82518a3959e639f4debc50b2aebc65dfc271adcc47f0a26aa0c |