k-Nearest Neighbor Diagnostic Tools