PoI Clustering with Stay Points/Stay Region Detection
Python implementation of PoI (Point-of-Interest) clustering algorithm based on:
- 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
- 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
- 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.
To 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.
Simple Description of Algorithm
- Find stay points regarding temporal and spatial distance between two trajectories.
- Build grids that embodying stay points.
- Cluster neighboring grids and give labels.
Installation
pip install poi-clustering
How to Use
- This implementation follows scikit-learn's grammar; fit and predict. For more details, please see docstrings in codes.
- Example
Metadata
Release files for poi-clustering 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| poi-clustering-0.0.6.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| poi_clustering-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.3 kB
Release files / poi-clustering-0.0.6.tar.gz
| Download URL | poi-clustering-0.0.6.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ea4110cdcd620fe666165638e2f0a03a0d973528fb2eb253fa155894254e1f2
|
|
BLAKE2b-256 checksum How to use checksums |
1c3516772092da2d30a1d8154dc80e765b8c805e47cc813f69b6f8bd4b33d099
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|
Release files / poi_clustering-0.0.6-py3-none-any.whl
| Download URL | poi_clustering-0.0.6-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea0fe0440a8d3410a6317eb5af92ef0da2166251750fbbade59bf483288be74b
|
|
BLAKE2b-256 checksum How to use checksums |
3d572cb49affa195abb909e305dcf7b02937c0afc5589ad5027b0fe16209287d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
|