TrajectoryClustering-master,phthen

所属分类:大数据
开发工具:Python
文件大小:997KB
下载次数:9
上传日期:2020-04-13 22:06:37
上 传 者dmujack1993
说明:  轨迹聚类,基于Python平台,直接画出轨迹图,说明轨迹中心。
(Track clustering, based on Python platform, directly draw the track map, explain the track center.)

文件列表:
clustering.py (10502, 2015-11-12)
common.py (239, 2015-11-12)
img (0, 2015-11-12)
img\trajclus.png (732477, 2015-11-12)
roundabout.gif (289861, 2015-11-12)
trajectory.py (2213, 2015-11-12)
trajectory_clustering.py (3782, 2015-11-12)

# TrajectoryClustering This application is capable of fully automatic clustering of 2D trajectory data. Why is this useful? Many systems today rely on capturing the data with one main property - a time-varying location which can be thought of as a trajectory. Whether it is ecologists who track wild animals, meteorologists who track hurricane flows or traffic researchers who analyse the common patterns in traffic, they all work with huge amount of data wchich must be (auomatically) analyzed in order to derive meaningful information. ![alt trajectory clustering 01](https://github.com/bednarikjan/TrajectoryClustering/blob/master/img/trajclus.png) ## How it works? The application performs either agglomerative or spectral clustering. The former requires the user to specify expected number of cluters wheras the latter is capable of finding the most suitable number of clusters automatically. It is based on the modified Hausdorff distance used as a semi-metric to define an affinity among different trajectories. For more detail see this paper: [Clustering of vehicle trajectories][1] ## Dependencies * Python 2.7 * NumPy * SciPy ## Install and run ``` $ chmod +x trajectory_clustering.py $ python trajectory_clustering.py ``` ## Controls ``` mouse draw a trajectory key agglomerative clustering (number of clusters must be specified) key spectral clustering (number of clusters is found automatically) key reset ``` ## Synopsis ``` trajectory_clustering num num expected number of clusters (only required for agglomerative clustering) ``` [1]: http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=5462900

近期下载者

相关文件


收藏者