{ "info": { "author": "Woohyeok Choi", "author_email": "woohyeok.choi@kaist.ac.kr", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering" ], "description": "# PoI Clustering with Stay Points/Stay Region Detection\n\nPython implementation of PoI (Point-of-Interest) clustering algorithm based on:\n* Yang Ye, Yu Zheng, Yukun Chen, Jianhua Feng, and Xing Xie. 2009. Mining Individual Life Pattern Based on Location History. In Proceedings of the 2009 Tenth International Conference on Mobile Data Management: Systems, Services and Middleware (MDM '09). http://dx.doi.org/10.1109/MDM.2009.11\n* Raul Montoliu, Jan Blom, and Daniel Gatica-Perez. 2013. Discovering Places of Interest in Everyday Life from Smartphone Data. Multimedia Tools And Applications, 62, 1, 179-207. http://dx.doi.org/10.1007/s11042-011-0982-z\n* Vincent W. Zheng, Yu Zheng, Xing Xie, and Qiang Yang. 2010. Collaborative Location and Activity Recommendations with GPS History Data. In Proceedings of the 19th International Conference on World Wide Web (WWW '10). https://doi.org/10.1145/1772690.1772795.\n\n\nTo find PoI, those studies propose a *stay point*, that is a micro cluster of temporal-spatial trajectories, and a *stay region*, that is a macro cluster of stay points. \n\n## Simple Description of Algorithm\n\n* Find stay points regarding temporal and spatial distance between two trajectories. \n* Build grids that embodying stay points.\n* Cluster neighboring grids and give labels. \n\n## Installation\n```cmd\npip install poi-clustering\n```\n\n## How to Use\nThis implementation follows scikit-learn's grammar; *fit* and *predict*. For more details, please see docstrings in codes. \n\n```python\nimport numpy as np\nfrom poi import PoiCluster\n\n# Dummy data of gps coordinates\nlatlon = np.column_stack([np.random.normal(36, 0.5, 100), np.random.normal(128, 0.5, 100)])\nlatlon_radian = np.radians(latlon)\ntimestamps = np.arange(latlon.shape[0])\ncluster = PoiCluster(d_max=250, r_max=500, t_max=60, t_min=5)\ncluster.fit(x=latlon_radian, timestamps=timestamps)\nlabel = cluster.predict(latlon_radian)\n```\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/woohyeok-choi/poi-clustering", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "poi-clustering", "package_url": "https://pypi.org/project/poi-clustering/", "platform": "", "project_url": "https://pypi.org/project/poi-clustering/", "project_urls": { "Homepage": "https://github.com/woohyeok-choi/poi-clustering" }, "release_url": "https://pypi.org/project/poi-clustering/0.0.3/", "requires_dist": [ "numpy", "scikit-learn" ], "requires_python": ">=3.6", "summary": "", "version": "0.0.3" }, "last_serial": 5957903, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "92f0e2023a585dd3d401f4bebc4633ad", "sha256": "f4ebafdd23cbe30d8968073e14c051a9f5d787a64bbf2e3d10898af96ca5adc2" }, "downloads": -1, "filename": "poi_clustering-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "92f0e2023a585dd3d401f4bebc4633ad", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5247, "upload_time": "2019-10-05T07:47:23", "url": "https://files.pythonhosted.org/packages/03/e9/9b4796fdf56781317feaa82f7951f24e040e3e8e5279c73f423dabcc8cfb/poi_clustering-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4fd269eb8134426488ab8520948daf6", "sha256": "7d927d41f6c1f8fde80b8642b57d9d8c7a78f0cd9c50b1e7b02f36d329635c36" }, "downloads": -1, "filename": "poi-clustering-0.0.1.tar.gz", "has_sig": false, "md5_digest": "b4fd269eb8134426488ab8520948daf6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4950, "upload_time": "2019-10-05T07:47:25", "url": "https://files.pythonhosted.org/packages/39/d6/5407d0a1736aab8f18deffd5b218dda8651e7fea71cf24e408e3364314b1/poi-clustering-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "412725435967c9e8d015f369c7d5acd9", "sha256": "d35a43f8dbbd5a1a13a1a3a6da7b585f9611426e7d0865d63a509bdc2874a35a" }, "downloads": -1, "filename": "poi_clustering-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "412725435967c9e8d015f369c7d5acd9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5229, "upload_time": "2019-10-06T04:01:21", "url": "https://files.pythonhosted.org/packages/3c/c2/0657bd2a1808c74681530f2baad1d8a3ce3733893711e6853bf4ef97756e/poi_clustering-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c7818283bbc5366221f03d8650ad6bcd", "sha256": "d3e60255cc8583c2be38d4c0b22ccc0313dad2f6146ded6c44c85d84ffaa1163" }, "downloads": -1, "filename": "poi-clustering-0.0.2.tar.gz", "has_sig": false, "md5_digest": "c7818283bbc5366221f03d8650ad6bcd", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4927, "upload_time": "2019-10-06T04:01:23", "url": "https://files.pythonhosted.org/packages/62/02/049ad4b5af3244a98278c0eb25d657fdf75d658aa891c7ccaefbbb1dccb7/poi-clustering-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "f34fd886a2beaf7d192d34598f10a31d", "sha256": "eef3eb4ea052392c3d08b13557c20dc2d7212fec6e16383aea0df14268dede2d" }, "downloads": -1, "filename": "poi_clustering-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "f34fd886a2beaf7d192d34598f10a31d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5250, "upload_time": "2019-10-11T01:40:13", "url": "https://files.pythonhosted.org/packages/f1/9e/46eaf67a19208caada6e887e5806dfa6c2afb2f3d553c991493a7f844340/poi_clustering-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd6c257a16079ee604ce0008eba4140d", "sha256": "d680677afb3a171a4682900f7a431c8cbf04e075f1b3bf007c6056bf9b377329" }, "downloads": -1, "filename": "poi-clustering-0.0.3.tar.gz", "has_sig": false, "md5_digest": "dd6c257a16079ee604ce0008eba4140d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4945, "upload_time": "2019-10-11T01:40:14", "url": "https://files.pythonhosted.org/packages/87/e8/ff7f14a7cf41baedac5052ebfe4582aca5b5dedb0885f4afb73a00b2fe9e/poi-clustering-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f34fd886a2beaf7d192d34598f10a31d", "sha256": "eef3eb4ea052392c3d08b13557c20dc2d7212fec6e16383aea0df14268dede2d" }, "downloads": -1, "filename": "poi_clustering-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "f34fd886a2beaf7d192d34598f10a31d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5250, "upload_time": "2019-10-11T01:40:13", "url": "https://files.pythonhosted.org/packages/f1/9e/46eaf67a19208caada6e887e5806dfa6c2afb2f3d553c991493a7f844340/poi_clustering-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd6c257a16079ee604ce0008eba4140d", "sha256": "d680677afb3a171a4682900f7a431c8cbf04e075f1b3bf007c6056bf9b377329" }, "downloads": -1, "filename": "poi-clustering-0.0.3.tar.gz", "has_sig": false, "md5_digest": "dd6c257a16079ee604ce0008eba4140d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4945, "upload_time": "2019-10-11T01:40:14", "url": "https://files.pythonhosted.org/packages/87/e8/ff7f14a7cf41baedac5052ebfe4582aca5b5dedb0885f4afb73a00b2fe9e/poi-clustering-0.0.3.tar.gz" } ] }