Algorithm S1.
Joint Clustering and Dimensionality Reduction
I: | input: Data samples , dimensionality , parameters , , . |
II: | output: Cluster assignment and latent factors . |
III: | Construct connectivity structure . |
IV: | Initialize dictionary and codes . |
V: | Precompute , , . |
Vi: | Initialize , , ,, , . |
VII: | while or < maxiterations do |
VIII: | Update and using Eq. 5. |
IX: | Update using Eq. 14. |
X: | Update using Eq. 12. |
XI: | Every 4 iterations, update , . |
XII: | Every 10 iterations, update using Eq. 17. |
XIII: | Construct graph with if . |
XIV: | Output clusters given by the connected components of . |