Step 1: |
Convert the known supervision into MLS and CLS; |
Step 2: |
Calculate the affinity matrix W of the given data set X, manipulate W according to (5), generate the Laplacian matrix L, the degree Matrix D, and calculate vol(G); |
Step 3: |
Construct the constraint matrix Pi (i = 1 or 2) based on Theorem 1 or Theorem 2, respectively; |
Step 4: |
Generate L̂ and P̂i (i = 1 or 2) according to Theorem 3, and attain Si = ηL̂ + (1 - η)P̂i, i = 1 or 2; |
Step 5: |
Obtain the first K smallest eigenvectors of Si (i = 1 or 2) using eigenvalue decomposition and construct the continuous solution matrix UN×K; |
Step 6: |
Based on UN×K, yield the normalized U′N×K with the norm of each row being 1, and generate the final discrete solution of (13) via K-means [18] or spectral rotation [6], [10] on U′N×K. |