{ "info": { "author": "Dimitri Vorona", "author_email": "vorona@in.tum.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "UCRDTW-cffi: Dynamic Time Warping with UCR optimizations\n=========================================================\n\n[![Build Status](https://travis-ci.org/alendit/ucrdtw_cffi.svg?branch=master)](https://travis-ci.org/alendit/ucrdtw_cffi)\n\nBased on [Searching and Mining Trillions of Time Series Subsequences under Dynamic Time Warping](http://www.cs.ucr.edu/~eamonn/SIGKDD_trillion.pdf) .\n\nC implementation from [libdtw](https://github.com/b/libdtw).\n\nInterface and tests from https://github.com/klon/ucrdtw/.\n\n### Requirements\n\nPython 2.7+ or 3.3+, numpy 1.8+\n\n### Usage\n\n```\nfrom ucrdtw_cffi import dtw_query\nimport numpy as np\nimport matplotlib.pyplot as plt\n\ndata = np.cumsum(np.random.uniform(-0.5, 0.5, 1000000))\nquery = np.cumsum(np.random.uniform(-0.5, 0.5, 100))\nloc, dist = _ucrdtw.ucrdtw(data, query, 0.05, True)\nquery = np.concatenate((np.linspace(0.0, 0.0, loc), query)) + (data[loc] - query[0])\n\nplt.figure()\nplt.plot(data)\nplt.plot(query)\nplt.show()\n```", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/alendit/ucrdtw_cffi", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "utcdtw-cffi", "package_url": "https://pypi.org/project/utcdtw-cffi/", "platform": "", "project_url": "https://pypi.org/project/utcdtw-cffi/", "project_urls": { "Homepage": "https://github.com/alendit/ucrdtw_cffi" }, "release_url": "https://pypi.org/project/utcdtw-cffi/0.1/", "requires_dist": null, "requires_python": "", "summary": "CFFI binding for UTC DTW suite", "version": "0.1" }, "last_serial": 3182246, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "e6071be5a6558581758634d686591e1e", "sha256": "8c81c33528c80ff8538018bc0bec2ad6c8070925d36b74d6d6468c0f6c445a1b" }, "downloads": -1, "filename": "utcdtw-cffi-0.1.tar.gz", "has_sig": false, "md5_digest": "e6071be5a6558581758634d686591e1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8132, "upload_time": "2017-09-18T12:10:29", "url": "https://files.pythonhosted.org/packages/1d/4b/2554ca5be5ed05596d719f003b49dddeb6e11d1137c46b1b85c5d22eed06/utcdtw-cffi-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e6071be5a6558581758634d686591e1e", "sha256": "8c81c33528c80ff8538018bc0bec2ad6c8070925d36b74d6d6468c0f6c445a1b" }, "downloads": -1, "filename": "utcdtw-cffi-0.1.tar.gz", "has_sig": false, "md5_digest": "e6071be5a6558581758634d686591e1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8132, "upload_time": "2017-09-18T12:10:29", "url": "https://files.pythonhosted.org/packages/1d/4b/2554ca5be5ed05596d719f003b49dddeb6e11d1137c46b1b85c5d22eed06/utcdtw-cffi-0.1.tar.gz" } ] }