{ "info": { "author": "Masashi Shibata ", "author_email": "contact@c-bata.link", "bugtrack_url": null, "classifiers": [], "description": "=============\noutlier-utils\n=============\n\n.. image:: https://travis-ci.org/c-bata/outlier-utils.svg?branch=master\n :target: https://travis-ci.org/c-bata/outlier-utils\n\nUtility library for detecting and removing outliers from normally distributed datasets using the Smirnov-Grubbs_ test.\n\nRequirements\n------------\n\n- Python_ (version 2.7, 3.4 and 3.5)\n- SciPy_\n- NumPy_\n\nOverview\n--------\n\nBoth the two-sided and the one-sided version of the test are supported. The former allows extracting outliers from both ends of the dataset, whereas the latter only considers min/max outliers. When running a test, every outlier will be removed until none can be found in the dataset. The output of the test is flexible enough to match several use cases. By default, the outlier-free data will be returned, but the test can also return the outliers themselves or their indices in the original dataset.\n\nExamples\n--------\n\n- Two-sided Grubbs test with a Pandas series input\n\n::\n\n >>> from outliers import smirnov_grubbs as grubbs\n >>> import pandas as pd\n >>> data = pd.Series([1, 8, 9, 10, 9])\n >>> grubbs.test(data, alpha=0.05)\n 1 8\n 2 9\n 3 10\n 4 9\n dtype: int64\n \n- Two-sided Grubbs test with a NumPy array input \n\n::\n\n >>> import numpy as np\n >>> data = np.array([1, 8, 9, 10, 9])\n >>> grubbs.test(data, alpha=0.05)\n array([ 8, 9, 10, 9])\n \n- One-sided (min) test returning outlier indices\n\n::\n\n >>> grubbs.min_test_indices([8, 9, 10, 1, 9], alpha=0.05)\n [3]\n \n- One-sided (max) tests returning outliers\n\n::\n\n >>> grubbs.max_test_outliers([8, 9, 10, 1, 9], alpha=0.05)\n []\n >>> grubbs.max_test_outliers([8, 9, 10, 50, 9], alpha=0.05)\n [50]\n\n\n.. _Smirnov-Grubbs: https://en.wikipedia.org/wiki/Grubbs%27_test_for_outliers\n.. _SciPy: https://www.scipy.org/\n.. _NumPy: http://www.numpy.org/\n.. _Python: https://www.python.org/\n\n\nLicense\n=======\n\nThis software is licensed under the MIT License.\n\n\n\nCHANGES\n=======\n\n0.0.3 (2016-04-25)\n------------------\n\nThanks to `@lukius `_ .\n\n- Support for one-sided (min/max) tests.\n- Test output is now more flexible: the user can run the test in order to find the outliers themselves or the indices of the outliers, and not just the outlier-free data.\n- Test suite was enhanced.\n- README was extended and improved.\n- Japanese comments were translated to English so as to reach a greater audience.\n\n0.0.2 (2015-12-02)\n------------------\n\nUpdate setup.py\n\n0.0.1 (2015-12-01)\n------------------\n\nPublish to pypi\n\n0.0.0 (2015-07-28)\n------------------\n\nCreate this project.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/c-bata/outlier-utils", "keywords": "outlier grubbs pandas numpy", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "outlier_utils", "package_url": "https://pypi.org/project/outlier_utils/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/outlier_utils/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/c-bata/outlier-utils" }, "release_url": "https://pypi.org/project/outlier_utils/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "Utility library for detecting and removing outliers from normally distributed datasets", "version": "0.0.3" }, "last_serial": 2081960, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "6267d536ecbb0a26e6a8f233ca415c59", "sha256": "0f2cee9a24bf12015e901c1f4ef86732777d488b3051dddc5609219fa4991602" }, "downloads": -1, "filename": "outlier_utils-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6267d536ecbb0a26e6a8f233ca415c59", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 4094, "upload_time": "2015-12-01T10:11:58", "url": "https://files.pythonhosted.org/packages/5e/80/3793d72337e59d7ec217d2ecb90f3fa238da7b6bc115fc428ce80de7d7cd/outlier_utils-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "04f076240bd2e7870c22b39669e03983", "sha256": "4c77f9e28ec2989ff591cf6824f9b74a246ee32304d729fc8a7a7e38e09117d1" }, "downloads": -1, "filename": "outlier_utils-0.0.1.tar.gz", "has_sig": false, "md5_digest": "04f076240bd2e7870c22b39669e03983", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2848, "upload_time": "2015-12-01T10:11:50", "url": "https://files.pythonhosted.org/packages/51/e2/e65175bd6e4aad8079c2e715e0f45fbe1ee4e1bdf5eec4c4efbb2d9f7254/outlier_utils-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "dcfa1c57606d1be9037bdb1a544bbbc4", "sha256": "974b39e86f3e69ca4ce3503b710b134105acd7512973b726f7715cb688c8fb00" }, "downloads": -1, "filename": "outlier_utils-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "dcfa1c57606d1be9037bdb1a544bbbc4", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 4056, "upload_time": "2015-12-02T02:01:46", "url": "https://files.pythonhosted.org/packages/ed/92/749d9c6e87a25458ed28df9ceab96e47dbb67f507380dee2dccb0a561053/outlier_utils-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5717fd1eb035fd598b0755d82c3ab1a9", "sha256": "0d3e1178c6f2c964076c40ecfde8ab5aa24613ed77c31f5d99ce1478d5afcbce" }, "downloads": -1, "filename": "outlier_utils-0.0.2.tar.gz", "has_sig": false, "md5_digest": "5717fd1eb035fd598b0755d82c3ab1a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3081, "upload_time": "2015-12-02T02:01:38", "url": "https://files.pythonhosted.org/packages/e4/ab/92ece224a7f8f4834c77285b80715ba57fc4553a96f7f5e7674b619a4e92/outlier_utils-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "0294553d36eda2c66dd4834d2ed2cc9e", "sha256": "6d99e48033e41a8ac00c2467f61725f76c04327543d9a895b92bb16d2ded4629" }, "downloads": -1, "filename": "outlier_utils-0.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "0294553d36eda2c66dd4834d2ed2cc9e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5951, "upload_time": "2016-04-24T13:49:15", "url": "https://files.pythonhosted.org/packages/b4/04/6ac1f8c45f22052bc973b2a73a27d2f7556ae33476060105de6241b13f1a/outlier_utils-0.0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "40decb3260f9ff94ebfd55a075579c93", "sha256": "f91b7a69dc5895b258ea307ed75e7bb3d901fba492c5a7cde4ae2e9cece206f7" }, "downloads": -1, "filename": "outlier_utils-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "40decb3260f9ff94ebfd55a075579c93", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5963, "upload_time": "2016-04-24T13:49:22", "url": "https://files.pythonhosted.org/packages/b1/b6/686a53fbf3fb4c6fd912cca01999d9e9da90a83756040223a16afd2ed578/outlier_utils-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0c844ce190bd55df6006e3ce9df3580f", "sha256": "d6a4b97e4fabe5c5328f7206eb040a1257afcdbf3febe1a158dda42f29794b79" }, "downloads": -1, "filename": "outlier_utils-0.0.3.tar.gz", "has_sig": false, "md5_digest": "0c844ce190bd55df6006e3ce9df3580f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5230, "upload_time": "2016-04-24T13:49:29", "url": "https://files.pythonhosted.org/packages/42/d3/5df2f1f0d1cc22256d18a70cb14315f11c25fe9e7b75732b4148550b8154/outlier_utils-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0294553d36eda2c66dd4834d2ed2cc9e", "sha256": "6d99e48033e41a8ac00c2467f61725f76c04327543d9a895b92bb16d2ded4629" }, "downloads": -1, "filename": "outlier_utils-0.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "0294553d36eda2c66dd4834d2ed2cc9e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5951, "upload_time": "2016-04-24T13:49:15", "url": "https://files.pythonhosted.org/packages/b4/04/6ac1f8c45f22052bc973b2a73a27d2f7556ae33476060105de6241b13f1a/outlier_utils-0.0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "40decb3260f9ff94ebfd55a075579c93", "sha256": "f91b7a69dc5895b258ea307ed75e7bb3d901fba492c5a7cde4ae2e9cece206f7" }, "downloads": -1, "filename": "outlier_utils-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "40decb3260f9ff94ebfd55a075579c93", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5963, "upload_time": "2016-04-24T13:49:22", "url": "https://files.pythonhosted.org/packages/b1/b6/686a53fbf3fb4c6fd912cca01999d9e9da90a83756040223a16afd2ed578/outlier_utils-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0c844ce190bd55df6006e3ce9df3580f", "sha256": "d6a4b97e4fabe5c5328f7206eb040a1257afcdbf3febe1a158dda42f29794b79" }, "downloads": -1, "filename": "outlier_utils-0.0.3.tar.gz", "has_sig": false, "md5_digest": "0c844ce190bd55df6006e3ce9df3580f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5230, "upload_time": "2016-04-24T13:49:29", "url": "https://files.pythonhosted.org/packages/42/d3/5df2f1f0d1cc22256d18a70cb14315f11c25fe9e7b75732b4148550b8154/outlier_utils-0.0.3.tar.gz" } ] }