DMelt example: Classification using k-nearest neighbor algorithm (k-NN)