Hi List, Is there a naiveBayes interface other than the one in e1071 package. For some reason on certain datasets all predicted values are NaN, but it predicts well on others. Thanks, Saeed --- model <- naiveBayes(x.train, y.train, laplace = 3) pred <- predict(model,x.test,type="raw")