|
Algorithm 2: Proposed PCA-based subspace clustering. |
Input: Data , number of subspaces , sampling size , regularization parameter and , neighborhood threshold , residual minimization parameter , affinity threshold .
Output: The label vector of all points in with clustered values.
1. The uniform sampling of points from is performed.
2. The subclusters are constructed.
3. Implement PCA on the subclusters.
4. An affinity matrix is constructed.
5. The adjacency matrix is sparsified.
For
For
If , then
End
End
6. Cluster .
7. Sample points in are clustered by implementing spectral clustering on .
8. Indicate the labels of by .
9. The label of the entire dataset is obtained by combining and so that the entire can be obtained and the clustering is performed successfully.
|