Naive Bayes Classifier predictions
density object
new data on which to make predictions
Variable to calculate conditional expectation wrt probabilities from NB classifier
Threshold parameters. First element defines the threshold on the probabilities and the second element the value to set those truncated probabilities to.
Additional arguments to lower level functions