multiclass naive bayes results based on similarity threshold