Solved – MLE for Naive Bayes in R

e1071machine learningnaive bayesr

I am using the naivebayes function of the e1071 library. Some example commands are:

model = naiveBayes(Species ~ ., data = iris)
pred = predict(model, iris[,])

My question is: how can I obtain the maximum likelihood estimate for the conditional probability distribution of this model?

Best Answer

This seems a bit ambiguous... What's wrong with model$table?