Displaying 1 result from an estimated 1 matches for "tp2400727p2400727".
2010 Aug 30
2
Regarding naive baysian classifier in R
...t;,10)));
cl <- factor(cl)
model <- naiveBayes(t(train),cl);
pred<-predict(model, t(test),decision.values=TRUE,probability=TRUE)
attr(pred,"probabilities");
table(pred,t(cl));
--
View this message in context: http://r.789695.n4.nabble.com/Regarding-naive-baysian-classifier-in-R-tp2400727p2400727.html
Sent from the R help mailing list archive at Nabble.com.