Introduction - If you have any usage issues, please Google them yourself
Metric learning about a classic article, the use of metrics to improve learning KNN classification accuracy, if you are interested to measure learning, this is a must read article