How probability is calculated in Naive Bayes? Usually we use the e1071 package to build a Naive Bayes classifier in R. And then using this classifier, we make some predictions on the training data. So probability for these predictions can be directly calculated based on frequency of occurrence...