Dimensionality reduction
Compressing many features into a few while keeping the important structure.
Dimensionality reduction maps data with many features to a small number of new ones. PCA keeps the directions of greatest variance (linear); t-SNE and UMAP keep neighbourhoods for 2-D visualisation; autoencoders learn non-linear compressions; LDA uses labels to keep class separation. It is used for visualisation, compression, noise removal and speeding up other models.
See it in action
- Principal component analysisRotate to the directions of greatest variance and keep the few that matter.
- t-SNE and UMAP for visualisationNon-linear maps that keep neighbourhoods: how t-SNE works and how to read its pictures safely.
- AutoencodersNeural networks that learn compressed codes by reconstructing their input; from PCA to VAEs.
- Linear discriminant analysisA generative linear classifier and supervised projection: Gaussian classes with a shared covariance.