|
Algorithm 1. Simple version of the novel density-based algorithm. The steps for the novel density-based algorithm. |
| 1: Input: Distance
|
| 2: Initialization: Cutoff distance , where [] represent rounding function and . Attribute of points . |
| 3: Results: Number of categories of the HRRPs and the type of each sample. |
| 4: Begin |
| 5: Step 1. The computation of and . |
| 6: Step 2. Calculation of distance and attribute . |
| 7: Step 3. Identification of clustering centers and classification of the other points. |
| 8: Step 4. The selection of average local density in the border region. |
| 9: Step 5. Classification of points with the label of cluster core or cluster halo. |
| 10: End |