This repo includes Minkowski and Mahalanobis distance implementation without using any data mining or linear algebra libraries. It also has covariance matrix implementation, which can be handy as well. For the further implementation details, you can see the commentaries inside the code.
bleidens/MinkowskiMahalanobis
This repo includes Minkowski and Mahalanobis distance implementation without using any data mining or linear algebra libraries. It also has covariance matrix implementation, which can be handy as well.
Java