LPCA is a visualization procedure implemented by Alice Barbara Tumpach that computes 2D positions of labelled datapoints from a high-dimensional dataset by performing a global Principal Component Analysis (PCA) followed by local PCAs in each class. The low-dimensional approximation of each class is then glued in the plane spanned by the first two eigenvalues of the global PCA in such a way that:
On 6000 fashion items from Fashion MNIST dataset:
On the whole Fashion MNIST dataset (LPCA takes 3 seconds on a Mac M1, tSNE much more, mdscale does not converge in a reasonable amount of time...):
On 6000 digits from MNIST dataset:
On 50000 digits from MNIST dataset (mdscale takes too much time...):