###The python implementation of DBSCAN cluster algorithm("Density-Based Spatial Clustering of Applications with Noise")
####Only for iris dataset or dataset with the same pattern , if you want to use other dataset , please modify the function "load_file"
run: python dbscan.py
The results: CLUSTER: 0 ALLNUM: 41 CORRECT: 41 PRECISION: 1.0000 LABEL: Iris-setosa CLUSTER: 133 ALLNUM: 14 CORRECT: 11 PRECISION: 0.7857 LABEL: Iris-virginica CLUSTER: 42 ALLNUM: 4 CORRECT: 4 PRECISION: 1.0000 LABEL: Iris-setosa CLUSTER: 78 ALLNUM: 30 CORRECT: 26 PRECISION: 0.8667 LABEL: Iris-versicolor CLUSTER: 112 ALLNUM: 16 CORRECT: 16 PRECISION: 1.0000 LABEL: Iris-virginica CLUSTER: 82 ALLNUM: 12 CORRECT: 12 PRECISION: 1.0000 LABEL: Iris-versicolor CLUSTER: -1(NOISE) ALLNUM: 33 CORRECT: 19 PRECISION: 0.5758 LABEL: Iris-virginica ALLNUM: 150 CORRECT: 110 PRECISION: 0.9402 RECALL: 0.7800