Automated Machine Learning Pipeline Generation
Project description
ngAutonML
ngAutonML
The ngAutonML project is an Automated Machine Learning solution intended to make it much easier to find good solutions to common machine learning problems, or to aid in prototyping a more complex solution. It aims to be simple to use for the bulk of machine learning problems, but maintains a high level of customizability for those situations that require more specific setups by more experiences machine learning professionals.
This project is the result of research performed as part of the D3M project run by DARPA. It is a reimplementation of many concepts used in that project, and is currently under heavy development.
Installation
It is recommended to create a virtual environment to run ngautonml. To do so with conda, run:
conda create -n env-name python=3.10
conda activate env-name
To install from pypi, use:
pip install ngautonml
ngAutonML is designed to run on Python 3.10 and above.
To install from this repository, use poetry:
pip install poetry
poetry install
If you are a developer, install the dev dependency group as well:
poetry install --with dev
This includes linters that code must be compliant with.
Usage
To use ngAutonML from the command line, you need to provide a problem definition (see below). Run:
python picard.py wrangle -d <path to problem definition>
The problem definition is a JSON file that describes the machine learning problem you wish ngAutonML to tackle. A simple problem definition might look like:
{
"dataset" : {
"config" : "memory",
"params" : {
"train_data": "train",
"test_data": "test"
},
"column_roles": {
"target": {
"name": "target"
}
}
},
"problem_type" : {
"data_type": "tabular",
"task": "binary_classification"
},
"metrics" : {
"accuracy_score": {},
"roc_auc_score": {}
}
}
Examples can be found in the examples directory, but in brief the important aspects are the following fields:
- dataset: The dataset that the algorithms are being run on. There are serveral data loaders that can load data from different sources.
- problem_type: This uses the subfields of
data_typeto tell the type of dataset, and thetaskto determine how the dataset will be handled, such as a classification or forecasting problem. - metrics: This field defines the scoring metric(s) that ngAutonML will use to evaluate algorithms.
For more information, see our documentation
Support
Currently all issues should be generated via the GitLab Issue Tracker.
Roadmap
In Development:
- Support for external models such as Docker Containers or LLM services
- Code generation for insertion into your own projects or for low-level customization
- API support
Contributing
If forking and wanting to contribute, please ensure PEP8 Compliance. The current project uses flake8, mypy, and pylint for code compliance, with the exception of setting the maximum line length to 100 characters.
Authors and acknowledgment
The CMU AutonML Development Team:
Piggy Yarroll (programmer/architect)
Andrew Williams (programmer)
Merritt Kowaleski (programmer)
Mujing Wang (programmer)
Carter Weaver (programmer)
Jeishi Chen (data scientist)
License
This project is currently licensed under the Apache 2.0 license.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ngautonml-0.4.3b4.tar.gz.
File metadata
- Download URL: ngautonml-0.4.3b4.tar.gz
- Upload date:
- Size: 298.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.10.16 Linux/6.8.0-52-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b6e813150ac3e2ff8f65798af2097097da9d4aaec701031a840a5a20bfbb535
|
|
| MD5 |
6fe06a2efcc05e2b375db08cd53cb0e2
|
|
| BLAKE2b-256 |
568abc2b2ba00a4d2b079e0d271e44833ba71ef02055791fa349bcc97b324b06
|
File details
Details for the file ngautonml-0.4.3b4-py3-none-any.whl.
File metadata
- Download URL: ngautonml-0.4.3b4-py3-none-any.whl
- Upload date:
- Size: 484.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.10.16 Linux/6.8.0-52-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a12bf66a07bd4db62cfeeb045f2fbe337ab9ace9b484213528f3229d146ce872
|
|
| MD5 |
53b2d09e43f027784cb96bb86f0ec271
|
|
| BLAKE2b-256 |
f30a0073670feb4e782c97b5888893a7f5c994e85b81a310add1a163a1a8cbb6
|