# K-Means for dictionary learning

Category: scikit-learn

#dictionary learning #k-means #scikit-learn #vq #Uncategorized

[![Dictionary learned with K-Means on the LFW dataset with whitening PCA][]][][![Dictionary learned with K-Means on the LFW dataset without whitening PCA][]][]

One of the simplest, and yet most heavily constrained form of matrix factorization, is vector quantization (VQ). Heavily used in image/video compression, the VQ problem is a …