文件名称:DBSCANSDTrajectoryClustering
介绍说明--下载内容均来自于网络,请自行研究使用
# How To Run The Code ?
After downloading it to local,
1. cd to the folder of src/boliu/dbscansd/
2. compile all the .java files using:
javac *.java
3. cd to the folder of src/
4. execute the program using the following either command:
java boliu.dbscansd.Main inputfile outputfile lineNum eps minPts maxSpd maxDir isStop
* @param inputfile the input file path
* @param outputfile the output file path
* @param lineNum the designated number of trajectory points for clustering (if the size of the input file is less than lineNum, it will extract all the points)
* @param eps 1st parameter of DBSCANSD, the radius
* @param minPts 2nd parameter of DBSCANSD, the minimum number of points
* @param maxSpd 3rd parameter of DBSCANSD, the maximum SOG difference
* @param maxDir 4th parameter of DBSCANSD, the maximum COG difference
* @param isStop boolean value (0/1), if you would like to cluster stopping points (1) or moving points (0)
--e.g. java boliu.dbscansd.Main toy_data.csv output 70000 0.03 50 2 2.5 0
In this way, the program will do the job on toy_data.csv file.
It will extract the first 70,000 moving points from the data and then run DBSCANSD on the dataset.
The final output will be two files:
output_gv.csv (gravity vectors)
output_movingclusters.csv (original clustering results with more rows).
5. waiting for the result :) The running time will vary with different sizes of the input data and other input parameters.
6. Star it if it helps \*-\*
After downloading it to local,
1. cd to the folder of src/boliu/dbscansd/
2. compile all the .java files using:
javac *.java
3. cd to the folder of src/
4. execute the program using the following either command:
java boliu.dbscansd.Main inputfile outputfile lineNum eps minPts maxSpd maxDir isStop
* @param inputfile the input file path
* @param outputfile the output file path
* @param lineNum the designated number of trajectory points for clustering (if the size of the input file is less than lineNum, it will extract all the points)
* @param eps 1st parameter of DBSCANSD, the radius
* @param minPts 2nd parameter of DBSCANSD, the minimum number of points
* @param maxSpd 3rd parameter of DBSCANSD, the maximum SOG difference
* @param maxDir 4th parameter of DBSCANSD, the maximum COG difference
* @param isStop boolean value (0/1), if you would like to cluster stopping points (1) or moving points (0)
--e.g. java boliu.dbscansd.Main toy_data.csv output 70000 0.03 50 2 2.5 0
In this way, the program will do the job on toy_data.csv file.
It will extract the first 70,000 moving points from the data and then run DBSCANSD on the dataset.
The final output will be two files:
output_gv.csv (gravity vectors)
output_movingclusters.csv (original clustering results with more rows).
5. waiting for the result :) The running time will vary with different sizes of the input data and other input parameters.
6. Star it if it helps \*-\*
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : TTClust-master.zip 列表 TTClust-master/ TTClust-master/LICENSE TTClust-master/README.md TTClust-master/create_envir_with_ttclust.yml TTClust-master/environment.yml TTClust-master/examples/ TTClust-master/examples/backbone/ TTClust-master/examples/backbone/C1-f7-s9.pdb TTClust-master/examples/backbone/RMSD_between_clusters.csv TTClust-master/examples/backbone/backbone-den.png TTClust-master/examples/backbone/backbone-dist.png TTClust-master/examples/backbone/backbone-distmat.png TTClust-master/examples/backbone/backbone-hist.png TTClust-master/examples/backbone/backbone-linear.png TTClust-master/examples/backbone/backbone.log TTClust-master/examples/backbone/backbone.log~ TTClust-master/examples/example.pdb TTClust-master/examples/example.xtc TTClust-master/images/ TTClust-master/images/ttclust-GUI.png TTClust-master/images/ttclust_logo.png TTClust-master/recipes/ TTClust-master/recipes/meta.yaml TTClust-master/requirements.txt TTClust-master/setup.py TTClust-master/ttclust/ TTClust-master/ttclust/__init__.py TTClust-master/ttclust/ttclust.py TTClust-master/ttclust/version.py
压缩包 : Trajectory-Clustering-master.zip 列表 Trajectory-Clustering-master/ Trajectory-Clustering-master/AMKS_iccv15.pdf Trajectory-Clustering-master/DEMO.m Trajectory-Clustering-master/DataHu2.png Trajectory-Clustering-master/DataMorris.png Trajectory-Clustering-master/Datalin.png Trajectory-Clustering-master/ExtractFeature.m Trajectory-Clustering-master/FastAMKS.m Trajectory-Clustering-master/LICENSE Trajectory-Clustering-master/MBMS.m Trajectory-Clustering-master/MBMSFast.m Trajectory-Clustering-master/MeanShift.m Trajectory-Clustering-master/MeanShiftFast.m Trajectory-Clustering-master/ParaConfig.m Trajectory-Clustering-master/README.TXT Trajectory-Clustering-master/README.md Trajectory-Clustering-master/TrajData.mat Trajectory-Clustering-master/color.mat Trajectory-Clustering-master/pca.m