{ "info": { "author": "Pavel Komarov", "author_email": "pvlkmrv@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# Projection Pursuit\n[![Travis Status](https://travis-ci.org/pavelkomarov/projection-pursuit.svg?branch=master)](https://travis-ci.org/pavelkomarov/projection-pursuit)\n[![Coverage Status](https://coveralls.io/repos/github/pavelkomarov/projection-pursuit/badge.svg?branch=master&service=github)](https://coveralls.io/github/pavelkomarov/projection-pursuit?branch=master&service=github)\n\n[Documentation](https://pavelkomarov.com/projection-pursuit/skpp.html), [How it works](https://pavelkomarov.com/projection-pursuit/math.pdf).\n\nThis repository is home to a couple [scikit-learn](http://scikit-learn.org/)-compatible estimators based on Jerome Friedman's generalizations[1] of his and Werner Stuetzle's *Projection Pursuit Regression* algorithm[2][3]. A regressor capable of multivariate estimation and a classifier based on regression to a one-hot multivariate representation are included.\n\n## Installation and Usage\nThe package by itself comes with a single module containing the estimators. Before\ninstalling the module you will need `numpy`, `scipy`, `scikit-learn`, and `matplotlib`.\nTo install the module execute:\n\n```shell\npip install projection-pursuit\n```\nor\n```shell\n$ python setup.py install\n``` \n\nIf the installation is successful, you should be able to execute the following in Python:\n```python\n>>> from skpp import ProjectionPursuitRegressor\n>>> estimator = ProjectionPursuitRegressor()\n>>> estimator.fit(np.arange(10).reshape(10, 1), np.arange(10))\n```\n\nSphinx is run via continuous integration to generate [the API](https://pavelkomarov.com/projection-pursuit/skpp.html).\n\nFor a few usage examples, see the examples and benchmarks directories. For an intuition of what the learner is doing, try running `viz_training_process.py`. For comparisons to other learners and an intuition of why you might want to try PPR, try the benchmarks. For a deep dive in to the math and an explanation of exactly how and why this works, see [`math.pdf`](https://pavelkomarov.com/projection-pursuit/math.pdf).\n\n## References\n\n1. Friedman, Jerome. (1985). \"Classification and Multiple Regression Through Projection Pursuit.\" http://www.slac.stanford.edu/pubs/slacpubs/3750/slac-pub-3824.pdf\n2. Hastie, Tibshirani, & Friedman. (2016). *The Elements of Statistical Learning 2nd Ed.*, section 11.2.\n3. (2017) *Projection pursuit regression* https://en.wikipedia.org/wiki/Projection_pursuit_regression", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pavelkomarov/projection-pursuit", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "projection-pursuit", "package_url": "https://pypi.org/project/projection-pursuit/", "platform": "", "project_url": "https://pypi.org/project/projection-pursuit/", "project_urls": { "Homepage": "https://github.com/pavelkomarov/projection-pursuit" }, "release_url": "https://pypi.org/project/projection-pursuit/0.8/", "requires_dist": null, "requires_python": "", "summary": "Scikit-learn estimators based on projection pursuit.", "version": "0.8" }, "last_serial": 5175273, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "0f7932d7ddeda4ce729cae2bdd20f68e", "sha256": "de49c8361fdcfda6e6e596da4438baa67016a80c5108a918204402fed7af6a3c" }, "downloads": -1, "filename": "projection-pursuit-0.1.tar.gz", "has_sig": false, "md5_digest": "0f7932d7ddeda4ce729cae2bdd20f68e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13152, "upload_time": "2018-03-04T03:50:23", "url": "https://files.pythonhosted.org/packages/43/3f/a037b5a1621f444cd2d59c6280dffa5b36b028930fe96459f08bb897e3f5/projection-pursuit-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "e3290d1df10f1c660350c21f64ca7d95", "sha256": "c6efa0b4d6e5e3520b64e1df970f8f1ee311a2897af02545daaff12ab2643e45" }, "downloads": -1, "filename": "projection-pursuit-0.2.tar.gz", "has_sig": false, "md5_digest": "e3290d1df10f1c660350c21f64ca7d95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14428, "upload_time": "2018-03-04T19:02:34", "url": "https://files.pythonhosted.org/packages/4b/0d/a624dd24e498730349c097dcae2621da0e729f19c239a8174df7adc00b24/projection-pursuit-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "f46a7b1c1dc351df75a9c5466be728c3", "sha256": "696d1d009a9fc1a2b2b7e49feb62a49b938ce01839425363a52160751153bbe4" }, "downloads": -1, "filename": "projection-pursuit-0.3.tar.gz", "has_sig": false, "md5_digest": "f46a7b1c1dc351df75a9c5466be728c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11094, "upload_time": "2018-03-13T19:46:13", "url": "https://files.pythonhosted.org/packages/e2/15/879a4cc41c3aa61b1e2b4c50628dfbe79c7c599b6c334e00a2a7662bcbb2/projection-pursuit-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "a8011e1e069a447db079adaa3f62d6de", "sha256": "1f514ef9fb890614abddba0f6a59254a0554f5ae62e22c0d96d56b2778ca8277" }, "downloads": -1, "filename": "projection-pursuit-0.4.tar.gz", "has_sig": false, "md5_digest": "a8011e1e069a447db079adaa3f62d6de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11200, "upload_time": "2018-03-13T19:55:03", "url": "https://files.pythonhosted.org/packages/99/8f/85bde3e83e1d51ec81a43e5b37a20b5506dd21fcab7385d43f4da4a71936/projection-pursuit-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "7fc53d0f4a1b3cb8a5b44fb3b56c4212", "sha256": "47cf8ac782be246b0d7065cde4ceff086d2efd044615b210bb419ab27133ce35" }, "downloads": -1, "filename": "projection-pursuit-0.5.tar.gz", "has_sig": false, "md5_digest": "7fc53d0f4a1b3cb8a5b44fb3b56c4212", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9802, "upload_time": "2018-03-15T19:53:51", "url": "https://files.pythonhosted.org/packages/63/72/845c74a2e204294152f1755e24f695510df047d4f2f49a75b703214b6c12/projection-pursuit-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "0cf0138c359aaa7958f52fedf783b406", "sha256": "4e7164e9135f94f7504576d759f8c19688d04a9c8542670fae9140438ea777b7" }, "downloads": -1, "filename": "projection-pursuit-0.6.tar.gz", "has_sig": false, "md5_digest": "0cf0138c359aaa7958f52fedf783b406", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9629, "upload_time": "2018-03-15T20:52:14", "url": "https://files.pythonhosted.org/packages/41/13/8392fb5e526fde6a5812a082ef8e5dc58bfd855413114e4ad737cfddc009/projection-pursuit-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "523f2c88bdce847f05904e25d271c9b4", "sha256": "44655c4512afc06bc0d75544849fb27000fdc1f0461733d4b5063a71f348e5ec" }, "downloads": -1, "filename": "projection-pursuit-0.7.tar.gz", "has_sig": false, "md5_digest": "523f2c88bdce847f05904e25d271c9b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9446, "upload_time": "2018-03-28T05:12:04", "url": "https://files.pythonhosted.org/packages/34/d7/9790c5e1cb97b4c96c6c17d4b63546ee5de5e2bf9c963fbe0debc5027bea/projection-pursuit-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "5b4479e918ad583115c777dc886e0b65", "sha256": "e3dd9afc2331b4bc205c72b74c3953a2a266381785f4ad3397d61a630382f4e0" }, "downloads": -1, "filename": "projection-pursuit-0.8.tar.gz", "has_sig": false, "md5_digest": "5b4479e918ad583115c777dc886e0b65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9084, "upload_time": "2019-04-23T02:45:36", "url": "https://files.pythonhosted.org/packages/8a/ea/3373604c59ed7dc2b99a8a5c532a2bcd2effbff595152805d6f06683d49d/projection-pursuit-0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5b4479e918ad583115c777dc886e0b65", "sha256": "e3dd9afc2331b4bc205c72b74c3953a2a266381785f4ad3397d61a630382f4e0" }, "downloads": -1, "filename": "projection-pursuit-0.8.tar.gz", "has_sig": false, "md5_digest": "5b4479e918ad583115c777dc886e0b65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9084, "upload_time": "2019-04-23T02:45:36", "url": "https://files.pythonhosted.org/packages/8a/ea/3373604c59ed7dc2b99a8a5c532a2bcd2effbff595152805d6f06683d49d/projection-pursuit-0.8.tar.gz" } ] }