So...
You really should give the results of sessionInfo().
There are (at least) two naive Bayes functions. I'm assuming that you
are using the one in klaR.
Look at the manual page ? predict.NaiveBayes: the output is "A list
with the conditional a-posterior probabilities for each class and the
es
Hi,
I have written a code in R for classifying microarray data using naive
bayes, the code is given below:
library(e1071)
train<-read.table("Z:/Documents/train.txt",header=T);
test<-read.table("Z:/Documents/test.txt",header=T);
cl <- c(c(rep("ALL",10), rep("AML",10)));
cl <- factor(cl)
mode
2 matches
Mail list logo