{ "info": { "author": "Barry Wark", "author_email": "barrywark@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Programming Language :: Python", "Topic :: Scientific/Engineering", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "The ANN module provides a numpy-compatible python wrapper around the \nApproximate Nearest Neighbor library (http://www.cs.umd.edu/~mount/ANN/).\n\n* Installation *\nDownload and build the Approximate Nearest Neighbor library. Modify the ANN section of \nsite.cfg so that ANN_ROOT is the path to the root of the Approximate Nearest Neighbor \nlibrary include/lib tree.\nIf /usr/local/include contains the ANN/ include directory and /usr/local/lib contains \nlibANN.a, then\nANN_ROOT = /usr/local\n\nRun ::\n\n python setup.py build_ext --inplace build test\n sudo python setup.py install\n\nfrom within the source directory.\n\n* Usage *\nscikits.ann exposes a single class, kdtree that wraps the Approximate Nearest Neighbor \nlibrary's kd-tree implementation. kdtree has a single (non-constructor) method, knn that \nfinds the indecies (of the points used to construct the kdtree) of the k-nearest neighbors\n and the squared distances to those points. A little example will probably be much \n more enlightening::\n >>> import scikits.ann as ann\n \n >>> import numpy as np\n\n >>> k=ann.kdtree(np.array([[0.,0],[1,0],[1.5,2]]))\n\n >>> k.knn([0,.2],1)\n (array([[0]]), array([[ 0.04]]))\n\n >>> k.knn([0,.2],2)\n (array([[0, 1]]), array([[ 0.04, 1.04]]))\n\n >>> k.knn([[0,.2],[.1,2],[3,1],[0,0]],2)\n (array([[0, 1],\n [2, 0],\n [2, 1],\n [1, 2]]), array([[ 0.04, 1.04],\n [ 1.96, 4.01],\n [ 3.25, 5. ],\n [ 1. , 6.25]]))\n\n >>> k.knn([[0,.2],[.1,2],[3,1],[0,0]],3)\n (array([[ 0, 1, 2],\n [ 2, 0, 1],\n [ 2, 1, 0],\n [ 1, 2, -1]]), array([[ 4.00000000e-002, 1.04000000e+000, 5.49000000e+000],\n [ 1.96000000e+000, 4.01000000e+000, 4.81000000e+000],\n [ 3.25000000e+000, 5.00000000e+000, 1.00000000e+001],\n [ 1.00000000e+000, 6.25000000e+000, 1.79769313e+308]]))", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://scipy.org/scipy/scikits/wiki/AnnWrapper", "keywords": null, "license": "GNU Library or Lesser General Public License (LGPL)", "maintainer": null, "maintainer_email": null, "name": "scikits.ann", "package_url": "https://pypi.org/project/scikits.ann/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/scikits.ann/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://scipy.org/scipy/scikits/wiki/AnnWrapper" }, "release_url": "https://pypi.org/project/scikits.ann/0.2.dev-r803/", "requires_dist": null, "requires_python": null, "summary": "Approximate Nearest Neighbor library wrapper for Numpy", "version": "0.2.dev-r803" }, "last_serial": 799307, "releases": { "0.2.dev-r800": [ { "comment_text": "", "digests": { "md5": "82f1bd20bd388d03a43c68a310ec6ee0", "sha256": "ca3b205b2c864e754eaa383465d2eaabda3ac59c3901dd20367d98c9fc9b4509" }, "downloads": -1, "filename": "scikits.ann-0.2.dev_r800-py2.5-macosx-10.5-i386.egg", "has_sig": false, "md5_digest": "82f1bd20bd388d03a43c68a310ec6ee0", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 84236, "upload_time": "2008-01-31T02:43:14", "url": "https://files.pythonhosted.org/packages/2a/d6/c8751e424b44ea52c5d4213045d846ac20b21a8860cdf0de0c6a7f5d406f/scikits.ann-0.2.dev_r800-py2.5-macosx-10.5-i386.egg" } ], "0.2.dev-r801": [ { "comment_text": "", "digests": { "md5": "3ac79682c3cfe5ce71aedd08a58dbd11", "sha256": "6ec616768d048425be955c578a8db47e7c5293ac158bc99da190871855b275fb" }, "downloads": -1, "filename": "scikits.ann-0.2.dev_r801-py2.5-macosx-10.5-i386.egg", "has_sig": false, "md5_digest": "3ac79682c3cfe5ce71aedd08a58dbd11", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 84273, "upload_time": "2008-01-31T02:53:16", "url": "https://files.pythonhosted.org/packages/23/c3/2f1a9ba969420d03f4b0ce9e78cc63b5ab20146f42e563577cd890dc7b0e/scikits.ann-0.2.dev_r801-py2.5-macosx-10.5-i386.egg" }, { "comment_text": "", "digests": { "md5": "87ebff577c4f29ce8cd66a874233bebc", "sha256": "db7c9c4f0330e9acfaf942b4ecb10921474745578e4cad477c72daf234373a19" }, "downloads": -1, "filename": "scikits.ann-0.2.dev-r801.tar.gz", "has_sig": false, "md5_digest": "87ebff577c4f29ce8cd66a874233bebc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20376, "upload_time": "2008-01-31T02:53:18", "url": "https://files.pythonhosted.org/packages/56/4f/764329c009e86599e28cf937c10e8c7d71f5e05ae8ff93440be06e2ad91b/scikits.ann-0.2.dev-r801.tar.gz" } ], "0.2.dev-r803": [ { "comment_text": "", "digests": { "md5": "ac2b350f03584d2c0c6f6130cd72bda3", "sha256": "5ccdd7d02b1b201c98ca2aa01cb04b82fa39be7f462b96d2959e564d26abd177" }, "downloads": -1, "filename": "scikits.ann-0.2.dev_r803-py2.5-macosx-10.5-i386.egg", "has_sig": false, "md5_digest": "ac2b350f03584d2c0c6f6130cd72bda3", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 84277, "upload_time": "2008-01-31T02:57:23", "url": "https://files.pythonhosted.org/packages/64/4a/aa8fc0fc50776768b74559eddfe93f24790a69c42a7a7a56529b32899483/scikits.ann-0.2.dev_r803-py2.5-macosx-10.5-i386.egg" }, { "comment_text": "", "digests": { "md5": "a0380cdc31fd705c15eb50f483bbe5fb", "sha256": "9330333e7b6cf0653d9396437ee7f8f676eda863568e168623071a19c76d8aaf" }, "downloads": -1, "filename": "scikits.ann-0.2.dev-r803.tar.gz", "has_sig": false, "md5_digest": "a0380cdc31fd705c15eb50f483bbe5fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20444, "upload_time": "2008-01-31T02:57:25", "url": "https://files.pythonhosted.org/packages/fd/7e/d23d4c862ca8a9fe3ba770b57b6d91e192608ddcc6760e0428f288e48023/scikits.ann-0.2.dev-r803.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ac2b350f03584d2c0c6f6130cd72bda3", "sha256": "5ccdd7d02b1b201c98ca2aa01cb04b82fa39be7f462b96d2959e564d26abd177" }, "downloads": -1, "filename": "scikits.ann-0.2.dev_r803-py2.5-macosx-10.5-i386.egg", "has_sig": false, "md5_digest": "ac2b350f03584d2c0c6f6130cd72bda3", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 84277, "upload_time": "2008-01-31T02:57:23", "url": "https://files.pythonhosted.org/packages/64/4a/aa8fc0fc50776768b74559eddfe93f24790a69c42a7a7a56529b32899483/scikits.ann-0.2.dev_r803-py2.5-macosx-10.5-i386.egg" }, { "comment_text": "", "digests": { "md5": "a0380cdc31fd705c15eb50f483bbe5fb", "sha256": "9330333e7b6cf0653d9396437ee7f8f676eda863568e168623071a19c76d8aaf" }, "downloads": -1, "filename": "scikits.ann-0.2.dev-r803.tar.gz", "has_sig": false, "md5_digest": "a0380cdc31fd705c15eb50f483bbe5fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20444, "upload_time": "2008-01-31T02:57:25", "url": "https://files.pythonhosted.org/packages/fd/7e/d23d4c862ca8a9fe3ba770b57b6d91e192608ddcc6760e0428f288e48023/scikits.ann-0.2.dev-r803.tar.gz" } ] }