{ "info": { "author": "Joshua D. Loyal", "author_email": "jloyal25@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering", "Topic :: Software Development" ], "description": ".. -*- mode: rst -*-\n\n|Travis|_ |AppVeyor|_ |Coveralls|_ |CircleCI|_ |License|_\n\n.. |Travis| image:: https://travis-ci.org/joshloyal/sliced.svg?branch=master\n.. _Travis: https://travis-ci.org/joshloyal/sliced\n\n.. |AppVeyor| image:: https://ci.appveyor.com/api/projects/status/54j060q1ukol1wnu/branch/master?svg=true\n.. _AppVeyor: https://ci.appveyor.com/project/joshloyal/sliced/history\n\n.. |Coveralls| image:: https://coveralls.io/repos/github/joshloyal/sliced/badge.svg?branch=master\n.. _Coveralls: https://coveralls.io/github/joshloyal/sliced?branch=master\n\n.. |CircleCI| image:: https://circleci.com/gh/joshloyal/sliced/tree/master.svg?style=svg\n.. _CircleCI: https://circleci.com/gh/joshloyal/sliced/tree/master\n\n.. |License| image:: https://img.shields.io/badge/License-MIT-blue.svg\n.. _License: https://opensource.org/licenses/MIT\n\n.. _scikit-learn: https://github.com/scikit-learn/scikit-learn\n\nsliced\n======\nsliced is a python package offering a number of sufficient dimension reduction (SDR) techniques commonly used in high-dimensional datasets with a supervised target. It is compatible with scikit-learn_.\n\n\nAlgorithms supported:\n\n- Sliced Inverse Regression (SIR) [1]_\n- Sliced Average Variance Estimation (SAVE) [2]_\n\nDocumentation / Website: https://joshloyal.github.io/sliced/\n\n\nExample\n-------\nExample that shows how to learn a one dimensional subspace from a dataset with ten features:\n\n.. code-block:: python\n\n from sliced.datasets import make_cubic\n from sliced import SlicedInverseRegression\n\n # load the 10-dimensional dataset\n X, y = make_cubic(random_state=123)\n\n # Set the options for SIR\n sir = SlicedInverseRegression(n_directions=1)\n\n # fit the model\n sir.fit(X, y)\n\n # transform into the new subspace\n X_sir = sir.transform(X)\n\n\nInstallation\n------------\n\nDependencies\n------------\nsliced requires:\n\n- Python (>= 2.7 or >= 3.4)\n- NumPy (>= 1.8.2)\n- SciPy (>= 0.13.3)\n- Scikit-learn (>=0.17)\n\nAdditionally, to run examples, you need matplotlib(>=2.0.0).\n\nInstallation\n------------\nYou need a working installation of numpy and scipy to install sliced. If you have a working installation of numpy and scipy, the easiest way to install sliced is using ``pip``::\n\n pip install -U sliced\n\nIf you prefer, you can clone the repository and run the setup.py file. Use the following commands to get the copy from GitHub and install all the dependencies::\n\n git clone https://github.com/joshloyal/sliced.git\n cd sliced\n pip install .\n\nOr install using pip and GitHub::\n\n pip install -U git+https://github.com/joshloyal/sliced.git\n\nTesting\n-------\nAfter installation, you can use pytest to run the test suite via setup.py::\n\n python setup.py test\n\nReferences:\n-----------\n.. [1] : Li, K C. (1991)\n \"Sliced Inverse Regression for Dimension Reduction (with discussion)\",\n Journal of the American Statistical Association, 86, 316-342.\n.. [2] : Shao, Y, Cook, RD and Weisberg, S (2007).\n \"Marginal Tests with Sliced Average Variance Estimation\",\n Biometrika, 94, 285-296.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://pypi.org/project/sliced/#files", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://joshloyal.github.io/sliced", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "sliced", "package_url": "https://pypi.org/project/sliced/", "platform": "", "project_url": "https://pypi.org/project/sliced/", "project_urls": { "Download": "https://pypi.org/project/sliced/#files", "Homepage": "https://joshloyal.github.io/sliced" }, "release_url": "https://pypi.org/project/sliced/0.7.0/", "requires_dist": [ "scipy (>=0.13.3)", "numpy (>=1.8.2)", "scikit-learn (>=0.17)", "pytest; extra == 'test'", "pytest-pep8; extra == 'test'", "pytest-cov; extra == 'test'", "nose (>=1.1.2); extra == 'test'" ], "requires_python": "", "summary": "Toolbox for sufficient dimension reduction (SDR).", "version": "0.7.0" }, "last_serial": 3974625, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "8054334d67cb95bb8f1e3529c553fa44", "sha256": "c99dfffb37bc6ea8fb4087b4737850cf6075616d268d4ad1d79a37f0e04bbbbe" }, "downloads": -1, "filename": "sliced-0.2.0.tar.gz", "has_sig": false, "md5_digest": "8054334d67cb95bb8f1e3529c553fa44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 893119, "upload_time": "2018-01-20T18:19:35", "url": "https://files.pythonhosted.org/packages/e7/fd/2dd13a3b778540b9716890cfdc986234aabe765349df8dc37bdfe40204ef/sliced-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "a7d65c80079d047213174c85bf75cea0", "sha256": "3a49e7735166b5d47e5e8ed1dfd7f4b35f9371cc8ce64fed5db6a33a2a58a440" }, "downloads": -1, "filename": "sliced-0.3.0.tar.gz", "has_sig": false, "md5_digest": "a7d65c80079d047213174c85bf75cea0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 894995, "upload_time": "2018-01-22T17:24:43", "url": "https://files.pythonhosted.org/packages/a8/11/6eb043ba57f7f48f8e97287ffcbda444026a029500626bb39c0f5f194e61/sliced-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "7604227eb26cd33ebe859cd67538d958", "sha256": "9d944cf22268640fd54f0284187842e8a969f9eebacb244589edf95e91273e75" }, "downloads": -1, "filename": "sliced-0.4.0.tar.gz", "has_sig": false, "md5_digest": "7604227eb26cd33ebe859cd67538d958", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 895005, "upload_time": "2018-01-22T17:30:18", "url": "https://files.pythonhosted.org/packages/66/65/1ce1b56b599d5fecdf07e954b2005b5f63cc53b96182239342cd90a23772/sliced-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "834e32a9ad547b51695b4393d76e3533", "sha256": "0c9e49f6b510986f095b7b19b1a766657b7ff564171ab4821f1ae5a6b09ce198" }, "downloads": -1, "filename": "sliced-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "834e32a9ad547b51695b4393d76e3533", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 35191, "upload_time": "2018-04-29T02:38:46", "url": "https://files.pythonhosted.org/packages/90/b5/701c365f009f4af472f313ba3d80903e040b2da2fe6c82738663112aea3d/sliced-0.5.0-py2.py3-none-any.whl" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "ad51d24f005b062e39c52bbff21c5bec", "sha256": "f0e6db9430be1bc6f10dfd877e377da02b9bc492cd61246a013aa2f8f22481fc" }, "downloads": -1, "filename": "sliced-0.6.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ad51d24f005b062e39c52bbff21c5bec", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 42170, "upload_time": "2018-06-13T16:45:50", "url": "https://files.pythonhosted.org/packages/ee/9e/82bc70f5f46f7798cea31288d5bc6dbb0a8ca1881d434777fbe99d449d6d/sliced-0.6.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0503b7d5929ac09aa85686958c59c85d", "sha256": "1a8bd6b0c397e1ab52e0bbd858aac05ed395691558f76edd9c653b2ce33cd6fc" }, "downloads": -1, "filename": "sliced-0.6.0.tar.gz", "has_sig": false, "md5_digest": "0503b7d5929ac09aa85686958c59c85d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 919870, "upload_time": "2018-06-13T16:45:52", "url": "https://files.pythonhosted.org/packages/21/49/4827ad508c0049bd244946deb211c993950ea47e724d2ebad787bc459ade/sliced-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "da350038906df9d929784bd41b8c7399", "sha256": "9d2489f1d2f4ebbb85bcd904a5587063d5c681fbdf7bc54ad02f05fc6e959c71" }, "downloads": -1, "filename": "sliced-0.7.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "da350038906df9d929784bd41b8c7399", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 43667, "upload_time": "2018-06-18T19:40:21", "url": "https://files.pythonhosted.org/packages/5d/f3/3464f139556b4927f3ffd263aafeece33f74044cca363b2dd77af301223c/sliced-0.7.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dcf4c8a220fd07adedecffe392f49d3c", "sha256": "e3d440519dcf577e2093fcd13ffe4d60050530596d00d80c9f562f04983d566b" }, "downloads": -1, "filename": "sliced-0.7.0.tar.gz", "has_sig": false, "md5_digest": "dcf4c8a220fd07adedecffe392f49d3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 921370, "upload_time": "2018-06-18T19:40:22", "url": "https://files.pythonhosted.org/packages/77/36/27e5385d31e4c7072d623d2e532820677e218009b8a2865bf59d96c84cf1/sliced-0.7.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "da350038906df9d929784bd41b8c7399", "sha256": "9d2489f1d2f4ebbb85bcd904a5587063d5c681fbdf7bc54ad02f05fc6e959c71" }, "downloads": -1, "filename": "sliced-0.7.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "da350038906df9d929784bd41b8c7399", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 43667, "upload_time": "2018-06-18T19:40:21", "url": "https://files.pythonhosted.org/packages/5d/f3/3464f139556b4927f3ffd263aafeece33f74044cca363b2dd77af301223c/sliced-0.7.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dcf4c8a220fd07adedecffe392f49d3c", "sha256": "e3d440519dcf577e2093fcd13ffe4d60050530596d00d80c9f562f04983d566b" }, "downloads": -1, "filename": "sliced-0.7.0.tar.gz", "has_sig": false, "md5_digest": "dcf4c8a220fd07adedecffe392f49d3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 921370, "upload_time": "2018-06-18T19:40:22", "url": "https://files.pythonhosted.org/packages/77/36/27e5385d31e4c7072d623d2e532820677e218009b8a2865bf59d96c84cf1/sliced-0.7.0.tar.gz" } ] }