{ "info": { "author": "Pieter Gijsbers", "author_email": "p.gijsbers@tue.nl", "bugtrack_url": null, "classifiers": [], "description": "# GAMA\n**G**enetic **A**utomated **M**achine learning **A**ssistant \nAn automated machine learning tool based on genetic programming. \nMake sure to check out the [documentation](https://pgijsbers.github.io/gama/).\n\n[![Build Status](https://travis-ci.org/PGijsbers/gama.svg?branch=master)](https://travis-ci.org/PGijsbers/gama)\n[![codecov](https://codecov.io/gh/PGijsbers/gama/branch/master/graph/badge.svg)](https://codecov.io/gh/PGijsbers/gama)\n[![DOI](http://joss.theoj.org/papers/10.21105/joss.01132/status.svg)](https://doi.org/10.21105/joss.01132)\n\n-----------------------------------------------------------------------------------------------------------------------\n\nGAMA is an AutoML package for end-users and AutoML researchers.\nIt generates optimized machine learning pipelines given specific input data and resource constraints.\nA 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).\n\nTo find these pipelines, multiple search procedures have been implemented.\nGAMA can also combine multiple tuned machine learning pipelines together into an ensemble, which on average should help model performance.\nAt the moment, GAMA is restricted to classification and regression problems on tabular data.\n\nIn addition to its general use AutoML functionality, GAMA aims to serve AutoML researchers as well.\nDuring the optimization process, GAMA keeps an extensive log of progress made.\nUsing this log, insight can be obtained on the behaviour of the search procedure.\nFor example, it can produce a graph that shows pipeline fitness over time:\n![graph of fitness over time](https://github.com/PGijsbers/gama/blob/master/docs/source/technical_guide/images/viz.gif)\n\nFor more examples and information on the visualization, see [the technical guide](https://pgijsbers.github.io/gama/technical_guide/index.html#visualization).\n\n## Installing GAMA\n\nYou can install GAMA with pip: `pip install gama`\n\n## Minimal Example\nThe following example uses AutoML to find a machine learning pipeline that classifies breast cancer as malign or benign.\nSee the documentation for examples in \n[classification](https://pgijsbers.github.io/gama/user_guide/index.html#classification),\n[regression](https://pgijsbers.github.io/gama/user_guide/index.html#regression),\nusing [ARFF as input](https://pgijsbers.github.io/gama/user_guide/index.html#using-arff-files).\n```python\nfrom sklearn.datasets import load_breast_cancer\nfrom sklearn.model_selection import train_test_split\nfrom sklearn.metrics import log_loss, accuracy_score\nfrom gama import GamaClassifier\n\nif __name__ == '__main__':\n X, y = load_breast_cancer(return_X_y=True)\n X_train, X_test, y_train, y_test = train_test_split(X, y, stratify=y, random_state=0)\n\n automl = GamaClassifier(max_total_time=180, keep_analysis_log=None)\n print(\"Starting `fit` which will take roughly 3 minutes.\")\n automl.fit(X_train, y_train)\n\n label_predictions = automl.predict(X_test)\n probability_predictions = automl.predict_proba(X_test)\n\n print('accuracy:', accuracy_score(y_test, label_predictions))\n print('log loss:', log_loss(y_test, probability_predictions))\n # the `score` function outputs the score on the metric optimized towards (by default, `log_loss`)\n print('log_loss', automl.score(X_test, y_test))\n```\n*note*: By default, GamaClassifier optimizes towards `log_loss`.\n\n## Citing\nIf you want to cite GAMA, please use [our JOSS publication](http://joss.theoj.org/papers/10.21105/joss.01132).\n```latex\n@article{Gijsbers2019,\n doi = {10.21105/joss.01132},\n url = {https://doi.org/10.21105/joss.01132},\n year = {2019},\n month = {jan},\n publisher = {The Open Journal},\n volume = {4},\n number = {33},\n pages = {1132},\n author = {Pieter Gijsbers and Joaquin Vanschoren},\n title = {{GAMA}: Genetic Automated Machine learning Assistant},\n journal = {Journal of Open Source Software}\n}\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/PGijsbers/GAMA", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "gama", "package_url": "https://pypi.org/project/gama/", "platform": "", "project_url": "https://pypi.org/project/gama/", "project_urls": { "Bug Tracker": "https://github.com/PGijsbers/gama/issues", "Documentation": "https://pgijsbers.github.io/gama/", "Homepage": "https://github.com/PGijsbers/GAMA", "Source Code": "https://github.com/PGijsbers/gama" }, "release_url": "https://pypi.org/project/gama/19.8.0/", "requires_dist": [ "numpy (>=1.14.0)", "scipy (>=1.0.0)", "scikit-learn (>=0.20.0)", "stopit (>=1.1.1)", "liac-arff (>=2.2.2)", "category-encoders (>=1.2.8)", "numpy (>=1.14.0) ; extra == 'all'", "scipy (>=1.0.0) ; extra == 'all'", "scikit-learn (>=0.20.0) ; extra == 'all'", "stopit (>=1.1.1) ; extra == 'all'", "liac-arff (>=2.2.2) ; extra == 'all'", "category-encoders (>=1.2.8) ; extra == 'all'", "dash (==1.1.1) ; extra == 'all'", "dash-daq (==0.1.0) ; extra == 'all'", "sphinx ; extra == 'all'", "sphinx-rtd-theme ; extra == 'all'", "sphinx ; extra == 'doc'", "sphinx-rtd-theme ; extra == 'doc'", "dash (==1.1.1) ; extra == 'doc'", "dash-daq (==0.1.0) ; extra == 'doc'", "pytest (>=4.4.0) ; extra == 'test'", "pytest-mock ; extra == 'test'", "pytest-xdist ; extra == 'test'", "codecov ; extra == 'test'", "pytest-cov ; extra == 'test'", "dash (==1.1.1) ; extra == 'vis'", "dash-daq (==0.1.0) ; extra == 'vis'" ], "requires_python": ">=3.6.0", "summary": "A package for automated machine learning based on scikit-learn.", "version": "19.8.0" }, "last_serial": 5841954, "releases": { "19.8.0": [ { "comment_text": "", "digests": { "md5": "83754fb37e27f7b10f95a6d0a4349055", "sha256": "b8873baf4e94176b7dd4bc25e2ba42f9a3f5a947362c4b6b8f5afa2de0e7b551" }, "downloads": -1, "filename": "gama-19.8.0-py3-none-any.whl", "has_sig": false, "md5_digest": "83754fb37e27f7b10f95a6d0a4349055", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 76447, "upload_time": "2019-09-17T14:14:50", "url": "https://files.pythonhosted.org/packages/88/f9/a76eed0f50e170cdf877cb15c2bed2d526ab96e43ba24d818986b8fa46e5/gama-19.8.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f4b3b859bf740b7920e398e55a94c17c", "sha256": "ffa781bfb5d0972fb949bb215b2cbee9524de0d72083b6e8ae361c411fa15fc1" }, "downloads": -1, "filename": "gama-19.8.0.tar.gz", "has_sig": false, "md5_digest": "f4b3b859bf740b7920e398e55a94c17c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 63181, "upload_time": "2019-09-17T14:14:53", "url": "https://files.pythonhosted.org/packages/92/dd/4769d71049c221839b521273f20c98df94cc0a6b47b1050c66634eff4f26/gama-19.8.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "83754fb37e27f7b10f95a6d0a4349055", "sha256": "b8873baf4e94176b7dd4bc25e2ba42f9a3f5a947362c4b6b8f5afa2de0e7b551" }, "downloads": -1, "filename": "gama-19.8.0-py3-none-any.whl", "has_sig": false, "md5_digest": "83754fb37e27f7b10f95a6d0a4349055", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 76447, "upload_time": "2019-09-17T14:14:50", "url": "https://files.pythonhosted.org/packages/88/f9/a76eed0f50e170cdf877cb15c2bed2d526ab96e43ba24d818986b8fa46e5/gama-19.8.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f4b3b859bf740b7920e398e55a94c17c", "sha256": "ffa781bfb5d0972fb949bb215b2cbee9524de0d72083b6e8ae361c411fa15fc1" }, "downloads": -1, "filename": "gama-19.8.0.tar.gz", "has_sig": false, "md5_digest": "f4b3b859bf740b7920e398e55a94c17c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 63181, "upload_time": "2019-09-17T14:14:53", "url": "https://files.pythonhosted.org/packages/92/dd/4769d71049c221839b521273f20c98df94cc0a6b47b1050c66634eff4f26/gama-19.8.0.tar.gz" } ] }