FIX: Thresholded Nearest Centroid fails with non-encoded y
Merge pull request #3746 from MechCoder/nearest_neighbor_manhattan

FIX: Thresholded Nearest Centroid fails with non-encoded y