Add an ability to classify over maps for naive bayes and knn