{ "info": { "author": "Iain Carmichael", "author_email": "idc9@cornell.edu", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\nDiProPerm\n----\n\n**author**: `Iain Carmichael`_\n\nAdditional documentation, examples and code revisions are coming soon.\nFor questions, issues or feature requests please reach out to Iain:\niain@unc.edu.\n\nOverview\n========\n\nThis package implements Direction-Projection-Permutation for High Dimensional\nHypothesis Tests (DiPoPerm). For details see Wei et al, 2016 (`paper link`_, `arxiv link`_). DiProPerm \"rigorously assesses whether a binary linear classifier is detecting statistically significant differences between two high-dimensional distributions.\"\n\n\n\nWei, S., Lee, C., Wichers, L., & Marron, J. S. (2016). Direction-projection-permutation for high-dimensional hypothesis tests. Journal of Computational and Graphical Statistics, 25(2), 549-569.\n\nInstallation\n============\n\nThe diproperm package can be installed via pip or github. This package is currently only tested in python 3.6.\n\n::\n\n pip install diproperm\n\n\n::\n\n git clone https://github.com/idc9/diproperm.git\n python setup.py install\n\nExample\n=======\n\n.. code:: python\n\n from sklearn.datasets import make_blobs\n import numpy as np\n import matplotlib.pyplot as plt\n # %matplotlib inline\n\n from diproperm.DiProPerm import DiProPerm\n\n # toy binary class dataset (two isotropic Gaussians)\n X, y = make_blobs(n_samples=100, n_features=2, centers=2, cluster_std=2)\n\n # DiProPerm with mean difference classifier, mean difference summary\n # statistic, and 1000 permutation samples.\n dpp = DiProPerm(B=1000, stat='md', clf='md')\n dpp.fit(X, y)\n\n dpp.test_stats_['md']\n\n.. code:: python\n\n {'Z': 11.704865481794599,\n 'cutoff_val': 1.2678333596648679,\n 'obs': 4.542253375623943,\n 'pval': 0.0,\n 'rejected': True}\n\n.. code:: python\n\n dpp.hist('md')\n\n.. image:: doc/figures/dpp_hist.png\n\n\nFor more example code see `these example notebooks`_.\n\nHelp and Support\n================\n\nAdditional documentation, examples and code revisions are coming soon.\nFor questions, issues or feature requests please reach out to Iain:\niain@unc.edu.\n\nDocumentation\n^^^^^^^^^^^^^\n\nThe source code is located on github: https://github.com/idc9/diproperm\n\nTesting\n^^^^^^^\n\nTesting is done using `nose`.\n\nContributing\n^^^^^^^^^^^^\n\nWe welcome contributions to make this a stronger package: data examples,\nbug fixes, spelling errors, new features, etc.\n\n\n\n.. _Iain Carmichael: https://idc9.github.io/\n.. _paper link: https://www.tandfonline.com/doi/abs/10.1080/10618600.2015.1027773\n.. _arxiv link: https://arxiv.org/pdf/1304.0796.pdf\n.. _these example notebooks: https://github.com/idc9/diproperm/tree/master/doc\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/idc9/diproperm", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "diproperm", "package_url": "https://pypi.org/project/diproperm/", "platform": "", "project_url": "https://pypi.org/project/diproperm/", "project_urls": { "Homepage": "https://github.com/idc9/diproperm" }, "release_url": "https://pypi.org/project/diproperm/0.0.3/", "requires_dist": [ "numpy", "scipy", "seaborn", "matplotlib", "sklearn" ], "requires_python": ">=3.6.0", "summary": "DiProPerm for high dimensional hypothesis testing.", "version": "0.0.3" }, "last_serial": 4455119, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0c206d7a6c0af0b2db739577111583e6", "sha256": "1ca74fe4c5cafc01cfc66385a412a6eccd8c861f8cd090e47aa2af6723a9c8bc" }, "downloads": -1, "filename": "diproperm-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0c206d7a6c0af0b2db739577111583e6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5485, "upload_time": "2018-10-30T14:43:27", "url": "https://files.pythonhosted.org/packages/cc/d0/a50011287bbe5ffc2c5e241b5dd3d46cb1087d1a740e13e1a7097a364ac9/diproperm-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d8a72c2334eed2d24d132735630c08d1", "sha256": "c4225e65ebb9a6555e11f4a5655366ef4273d31f0cd7301fdffcd12dc47e8cab" }, "downloads": -1, "filename": "diproperm-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d8a72c2334eed2d24d132735630c08d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5642, "upload_time": "2018-10-30T14:43:28", "url": "https://files.pythonhosted.org/packages/d2/03/f968a9c965d87fd22663b345b1ed0390425f48dcc6dbc99314d8a17b0aa0/diproperm-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "6498c8af121977390f7755b108d60f8f", "sha256": "6f06b248648fb19749889f3003eeb8d05d0e414be3f9d28f4b00327bac1e62f9" }, "downloads": -1, "filename": "diproperm-0.0.2.tar.gz", "has_sig": false, "md5_digest": "6498c8af121977390f7755b108d60f8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6059, "upload_time": "2018-10-30T22:28:28", "url": "https://files.pythonhosted.org/packages/8a/d6/708a29f50bff36ac6d78dccb464ae063118124be43ab750c3830015511ce/diproperm-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "e3c73ef0babedda1aa7ff0147602bfe7", "sha256": "5f04a32d81cfa82481b79ad85f1b073501293bfa584bddf95957d94a71fec1c1" }, "downloads": -1, "filename": "diproperm-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e3c73ef0babedda1aa7ff0147602bfe7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 11131, "upload_time": "2018-11-05T22:54:43", "url": "https://files.pythonhosted.org/packages/01/e0/ba15821ceb75fe607cf65cfd8769995553c1abe74dba6c3d50cd9b2ce6ee/diproperm-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e5f1184c4993b3524100e0b9d68d92e", "sha256": "3883d012fd4241d106eff2688d420ed1673e402d2b9682a74d9e3ddfae3734bc" }, "downloads": -1, "filename": "diproperm-0.0.3.tar.gz", "has_sig": false, "md5_digest": "2e5f1184c4993b3524100e0b9d68d92e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 11114, "upload_time": "2018-11-05T22:54:44", "url": "https://files.pythonhosted.org/packages/a4/ed/def54c0310271b81df8a6a3cbf7258a41efb712be46e50e67e54a934fa08/diproperm-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e3c73ef0babedda1aa7ff0147602bfe7", "sha256": "5f04a32d81cfa82481b79ad85f1b073501293bfa584bddf95957d94a71fec1c1" }, "downloads": -1, "filename": "diproperm-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e3c73ef0babedda1aa7ff0147602bfe7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 11131, "upload_time": "2018-11-05T22:54:43", "url": "https://files.pythonhosted.org/packages/01/e0/ba15821ceb75fe607cf65cfd8769995553c1abe74dba6c3d50cd9b2ce6ee/diproperm-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e5f1184c4993b3524100e0b9d68d92e", "sha256": "3883d012fd4241d106eff2688d420ed1673e402d2b9682a74d9e3ddfae3734bc" }, "downloads": -1, "filename": "diproperm-0.0.3.tar.gz", "has_sig": false, "md5_digest": "2e5f1184c4993b3524100e0b9d68d92e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 11114, "upload_time": "2018-11-05T22:54:44", "url": "https://files.pythonhosted.org/packages/a4/ed/def54c0310271b81df8a6a3cbf7258a41efb712be46e50e67e54a934fa08/diproperm-0.0.3.tar.gz" } ] }