GAMA

GAMA: Genetic Automated Machine learning Assistant - Published in JOSS (2019)

https://github.com/pgijsbers/gama

Science Score: 100.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: springer.com, joss.theoj.org
  • Committers with academic emails
    3 of 7 committers (42.9%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Scientific Fields

Engineering Computer Science - 60% confidence
Artificial Intelligence and Machine Learning Computer Science - 43% confidence
Earth and Environmental Sciences Physical Sciences - 40% confidence
Last synced: 4 months ago · JSON representation ·

Repository

An automated machine learning tool aimed to facilitate AutoML research.

Basic Info
Statistics
  • Stars: 4
  • Watchers: 0
  • Forks: 3
  • Open Issues: 1
  • Releases: 1
Fork of amore-labs/gama
Created over 3 years ago · Last pushed almost 3 years ago
Metadata Files
Readme License Code of conduct Citation

README.md

GAMA logo

General Automated Machine learning Assistant
An automated machine learning tool based on genetic programming.
Make sure to check out the documentation.

Build Status codecov DOI


GAMA is an AutoML package for end-users and AutoML researchers. It generates optimized machine learning pipelines given specific input data and resource constraints. A machine learning pipeline contains data preprocessing (e.g. PCA, normalization) as well as a machine learning algorithm (e.g. Logistic Regression, Random Forests), with fine-tuned hyperparameter settings (e.g. number of trees in a Random Forest).

To find these pipelines, multiple search procedures have been implemented. GAMA can also combine multiple tuned machine learning pipelines together into an ensemble, which on average should help model performance. At the moment, GAMA is restricted to classification and regression problems on tabular data.

In addition to its general use AutoML functionality, GAMA aims to serve AutoML researchers as well. During the optimization process, GAMA keeps an extensive log of progress made. Using this log, insight can be obtained on the behaviour of the search procedure. For example, it can produce a graph that shows pipeline fitness over time: graph of fitness over time

For more examples and information on the visualization, see the technical guide.

Installing GAMA

You can install GAMA with pip: pip install gama

Minimal Example

The following example uses AutoML to find a machine learning pipeline that classifies breast cancer as malign or benign. See the documentation for examples in classification, regression, using ARFF as input.

```python from sklearn.datasets import loadbreastcancer from sklearn.modelselection import traintestsplit from sklearn.metrics import logloss, accuracy_score from gama import GamaClassifier

if name == 'main': X, y = loadbreastcancer(returnXy=True) Xtrain, Xtest, ytrain, ytest = traintestsplit(X, y, stratify=y, random_state=0)

automl = GamaClassifier(max_total_time=180, store="nothing")
print("Starting `fit` which will take roughly 3 minutes.")
automl.fit(X_train, y_train)

label_predictions = automl.predict(X_test)
probability_predictions = automl.predict_proba(X_test)

print('accuracy:', accuracy_score(y_test, label_predictions))
print('log loss:', log_loss(y_test, probability_predictions))
# the `score` function outputs the score on the metric optimized towards (by default, `log_loss`)
print('log_loss', automl.score(X_test, y_test))

```

note: By default, GamaClassifier optimizes towards log_loss.

Citing

If you want to cite GAMA, please use our ECML-PKDD 2020 Demo Track publication.

latex @InProceedings{10.1007/978-3-030-67670-4_39, author="Gijsbers, Pieter and Vanschoren, Joaquin", editor="Dong, Yuxiao and Ifrim, Georgiana and Mladeni{\'{c}}, Dunja and Saunders, Craig and Van Hoecke, Sofie", title="GAMA: A General Automated Machine Learning Assistant", booktitle="Machine Learning and Knowledge Discovery in Databases. Applied Data Science and Demo Track", year="2021", publisher="Springer International Publishing", address="Cham", pages="560--564", abstract="The General Automated Machine learning Assistant (GAMA) is a modular AutoML system developed to empower users to track and control how AutoML algorithms search for optimal machine learning pipelines, and facilitate AutoML research itself. In contrast to current, often black-box systems, GAMA allows users to plug in different AutoML and post-processing techniques, logs and visualizes the search process, and supports easy benchmarking. It currently features three AutoML search algorithms, two model post-processing steps, and is designed to allow for more components to be added.", isbn="978-3-030-67670-4" }

Owner

  • Name: Pieter Gijsbers
  • Login: PGijsbers
  • Kind: user
  • Location: Netherlands
  • Company: Eindhoven University of Technology

Building software for AutoML research. Research Engineer at TU/e for @openml.

JOSS Publication

GAMA: Genetic Automated Machine learning Assistant
Published
January 30, 2019
Volume 4, Issue 33, Page 1132
Authors
Pieter Gijsbers ORCID
Eindhoven University of Technology
Joaquin Vanschoren ORCID
Eindhoven University of Technology
Editor
Ariel Rokem ORCID
Tags
AutoML evolutionary algorithm genetic programming

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software in a publication, please cite the metadata from preferred-citation."
preferred-citation:
  type: article
  authors:
  - family-names: "Gijsbers"
    given-names: "Pieter"
    orcid: "https://orcid.org/0000-0001-7346-8075"
  - family-names: "Vanschoren"
    given-names: "Joaquin"
    orcid: "https://orcid.org/0000-0001-7044-9805"
  journal: "CoRR"
  title: "GAMA: a General Automated Machine learning Assistant"
  abstract: "The General Automated Machine learning Assistant (GAMA) is a modular AutoML system developed to empower users to track and control how AutoML algorithms search for optimal machine learning pipelines, and facilitate AutoML research itself. In contrast to current, often black-box systems, GAMA allows users to plug in different AutoML and post-processing techniques, logs and visualizes the search process, and supports easy benchmarking. It currently features three AutoML search algorithms, two model post-processing steps, and is designed to allow for more components to be added."
  volume: abs/2007.04911
  year: 2020
  start: 560
  end: 564
  pages: 5
  doi: 10.1007/978-3-030-67670-4_39
  url: https://arxiv.org/abs/2007.04911

GitHub Events

Total
Last Year

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 938
  • Total Committers: 7
  • Avg Commits per committer: 134.0
  • Development Distribution Score (DDS): 0.013
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
PGijsbers p****s@t****l 926
PGijsbers p****s@t****l 6
Chris Lam c****s@c****l 2
bilgecelik b****k@g****m 1
Joaquin Vanschoren j****n@g****m 1
Himanshu a****q@g****m 1
Pieter p****r@g****u 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 0
  • Total pull requests: 7
  • Average time to close issues: N/A
  • Average time to close pull requests: 5 minutes
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.29
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • PGijsbers (7)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/actions/pytest/action.yaml actions
  • actions/cache v3 composite
  • actions/setup-python v4 composite
  • codecov/codecov-action v3 composite
.github/workflows/build-docs.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/changelog.yaml actions
  • actions/checkout v3 composite
  • thollander/actions-comment-pull-request v1 composite
.github/workflows/precommit.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • pre-commit/action v3.0.0 composite
.github/workflows/publish.yaml actions
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
.github/workflows/pytest.yaml actions
  • ./.github/actions/pytest * composite
  • actions/checkout v3 composite
.github/workflows/test-with-pre.yaml actions
  • ./.github/actions/pytest * composite
  • actions/checkout v3 composite
pyproject.toml pypi
  • black ==19.10b0
  • category-encoders >=1.2.8
  • liac-arff >=2.2.2
  • numpy >=1.20.0
  • pandas >=1.0
  • psutil *
  • scikit-learn >=1.1.0
  • scipy >=1.0.0
  • stopit >=1.1.1
setup.py pypi