views:

63

answers:

0

i am using naivebayes function of e1071 library of R like below:

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

my question is: how can i get maximum likelihood estimate for conditional probability distibution of this model?