completed the confusion matrix plotting and classification report for the inverse_knn