https://kevinzakka.github.io/2020/02/10/nca/
Kevin’s Blog
kNN classification using Neighbourhood Components Analysis
Feb 10, 2020
“Long story short, NCA allows you to learn a linear transformation of your data that maximizes k-nearest neighbours performance. By forcing the transformation to be low-rank, NCA will perform dimensionality reduction, leading to vastly reduced storage sizes and search times for kNN!”