{ "info": { "author": "John Quinn , David Westerhoff ", "author_email": "", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Table of Contents\n-----------------\n\n- `Features`_\n- `Installation`_\n- `Usage`_\n- `Reference`_\n- `Documentation`_\n- `History`_\n- `License`_\n\nFeatures\n--------\n\n- Compatible with scikit-learn package modules\n- Probabilistic outlier detection model\n- Robust classifier when given multiple inlier classes\n- Easy to install and get started\n\nInstallation\n------------\n\nThe best way to install lsanomaly is to:\n\n::\n\n pip install lsanomaly\n\nBecause lsanomaly requires scikit-learn it also requires numpy and scipy\ninherintly. Make sure you have successfully installed these packages if you're\nhaving trouble getting lsanomaly to install.\n\nUsage\n-----\n\nFor those familiar with scikit-learn the interface will be familiar, in fact lsanomaly was built to be compatible with sklearn modules where applicable. Here is basic usage of lsanomaly to get started quick as possible.\n\n**Configuring the Model**\n\nThe LSAnomaly provides reasonable default parameters when given an empty init or it can be passed values for rho and sigma. The value rho controls sensitivity to outliers and sigma determines the \u2018smoothness\u2019 of the\nboundary. These values can be tuned to improve your results using lsanomaly.\n\n.. code:: python\n\n from lsanomaly import LSAnomaly\n\n # At train time lsanomaly calculates parameters rho and sigma\n lsanomaly = LSAnomaly()\n # or alternatively\n lsanomaly = LSAnomaly(sigma=3, rho=0.1)\n\n**Training the Model**\n\nAfter the model is configured the training data can be fit.\n\n.. code:: python\n\n import numpy as np\n lsanomaly.fit(np.array([[1],[2],[3],[1],[2],[3]]))\n\n**Making Predictions**\n\nNow that the data is fit, we will probably want to try and predict on some data not in the training set.\n\n.. code:: python\n\n >>> lsanomaly.predict([0])\n [0.0]\n >>> lsanomaly.predict_proba([0])\n array([[ 0.5760205, 0.4239795]])\n\nReference\n---------\n\nJ.A. Quinn, M. Sugiyama. A least-squares approach to anomaly detection in static and sequential data. Pattern Recognition Letters 40:36-40, 2014. \n\n[`pdf`_]\n\nDocumentation\n-------------\n\nComing soon...\n\nHistory\n-------\n\nTo check out the complete release notes see the `changelog`_.\n\nLicense\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 John Quinn\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the\n\u201cSoftware\u201d), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \u201cAS IS\u201d, WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL TH\n\n.. _Features: #features\n.. _Installation: #installation\n.. _Usage: #usage\n.. _Documentation: #documentation\n.. _History: #history\n.. _License: #license\n.. _here: https://\n.. _changelog: https://github.com/lsanomaly/lsanomaly/blob/master/CHANGELOG.md\n.. _pdf: http://air.ug/~jquinn/papers/PRLetters_LSAnomalyDetection.pdf\n\n.. |Logo| image:: https://github.com/lsanomaly/lsanomaly/blob/master/docs/logo.png\n.. |PyPI| image:: https://img.shields.io/pypi/v/lsanomaly.svg?maxAge=259200\n :target: https://pypi.python.org/pypi/lsanomaly\n.. |Language| image:: https://img.shields.io/badge/language-python-blue.svg?maxAge=259200\n.. |Documentation| image:: https://img.shields.io/badge/docs-100%25-brightgreen.svg?maxAge=259200\n.. |License| image:: https://img.shields.io/badge/license-MIT-7f7f7f.svg?maxAge=259200", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lsanomaly/lsanomaly", "keywords": "anomaly outlier novelty detection machine learning scikit-learn sklearn", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "lsanomaly", "package_url": "https://pypi.org/project/lsanomaly/", "platform": "", "project_url": "https://pypi.org/project/lsanomaly/", "project_urls": { "Homepage": "https://github.com/lsanomaly/lsanomaly" }, "release_url": "https://pypi.org/project/lsanomaly/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "Least squares anomaly detection.", "version": "0.1.3" }, "last_serial": 2296789, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a7d714577264c9242f9749c07089edee", "sha256": "da25aea08212442fd88f30c69ba07c3bf2dbef7c3155d60617d23debf2ce1704" }, "downloads": -1, "filename": "lsanomaly-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a7d714577264c9242f9749c07089edee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6888, "upload_time": "2016-08-22T21:36:23", "url": "https://files.pythonhosted.org/packages/52/7e/12db1b629fb992fba75fc4ed4e4f6282c0857699a66e1084f7c8b6cbab23/lsanomaly-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b97862723b3fd53ae83e0140d8646194", "sha256": "0f909324634366ffc324b14a5cccd8550e938b7dfe674d816bf3293cda8e56ac" }, "downloads": -1, "filename": "lsanomaly-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b97862723b3fd53ae83e0140d8646194", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7087, "upload_time": "2016-08-22T21:52:11", "url": "https://files.pythonhosted.org/packages/71/d3/83908b5b04663413e3927e4fc3d35c768bb530998d9352a492ca8637ab0f/lsanomaly-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "b71af9e65607d6cbc867fe5598f52ea7", "sha256": "6e8fd1f49f69b0ec126f1bf3944a0b3a80ac2d782d71a96287971f992d585960" }, "downloads": -1, "filename": "lsanomaly-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b71af9e65607d6cbc867fe5598f52ea7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7078, "upload_time": "2016-08-22T22:11:00", "url": "https://files.pythonhosted.org/packages/e1/8b/c579ed58776314cb3a3d9a05fc42b57f5cc475a915c977bd72a4b7eb2a5c/lsanomaly-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "3dce5be8c6208846acd5c7c555a9df22", "sha256": "ca1b06715a1c839545914ec7148d680d501ce1b3a92b2db91052787946654716" }, "downloads": -1, "filename": "lsanomaly-0.1.3.tar.gz", "has_sig": false, "md5_digest": "3dce5be8c6208846acd5c7c555a9df22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7070, "upload_time": "2016-08-22T22:13:17", "url": "https://files.pythonhosted.org/packages/24/86/9dbd44ac822657fda0d93fc6d6d1722ebb9e15139864b5e95580affd1fd6/lsanomaly-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3dce5be8c6208846acd5c7c555a9df22", "sha256": "ca1b06715a1c839545914ec7148d680d501ce1b3a92b2db91052787946654716" }, "downloads": -1, "filename": "lsanomaly-0.1.3.tar.gz", "has_sig": false, "md5_digest": "3dce5be8c6208846acd5c7c555a9df22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7070, "upload_time": "2016-08-22T22:13:17", "url": "https://files.pythonhosted.org/packages/24/86/9dbd44ac822657fda0d93fc6d6d1722ebb9e15139864b5e95580affd1fd6/lsanomaly-0.1.3.tar.gz" } ] }