Re: [R] RWeka and naiveBayes

2007-11-01 Thread Kuhn, Max
Sancar, > I'm trying to use RWeka to use a NaiveBayes Classifier(the Weka > version). However it crashes whenever there is a NA in the class > Gender It is difficult to tell what the problem is without the data (or a reproducible toy example), but it seems like you are trying to remove NA values

[R] RWeka and naiveBayes

2007-10-31 Thread Sancar Adali
Hi I'm trying to use RWeka to use a NaiveBayes Classifier(the Weka version). However it crashes whenever there is a NA in the class Gender Here is the.code I have with d2 as the data frame. The first call to NB doesn't make R crash but the second call does. NB <- make_Weka_classifier("weka/classi