Re: [R] naiveBayes other than e1071

2007-06-06 Thread Uwe Ligges
Modeling the > conditional probabilities using a normal distribution may not be the > best idea. > > Max > > > -Original Message- > From: Uwe Ligges [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 05, 2007 3:56 PM > To: Saeed Abu Nimeh > Cc: Kuhn, Max; r-help@s

Re: [R] naiveBayes other than e1071

2007-06-05 Thread Kuhn, Max
ea. Max -Original Message- From: Uwe Ligges [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 3:56 PM To: Saeed Abu Nimeh Cc: Kuhn, Max; r-help@stat.math.ethz.ch Subject: Re: [R] naiveBayes other than e1071 Saeed Abu Nimeh wrote: > Max, > Thanks. I have tried it but i keep getting an err

Re: [R] naiveBayes other than e1071

2007-06-05 Thread Uwe Ligges
divided by the >> marginal of x_i (per the true formula). I haven't seen the problem occur >> with this patch. >> >> HTH, >> >> Max >> >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [R] naiveBayes other than e1071

2007-06-05 Thread Saeed Abu Nimeh
he > marginal of x_i (per the true formula). I haven't seen the problem occur > with this patch. > > HTH, > > Max > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Saeed Abu Nimeh > Sent: Monday, June 04, 2007 2:45 PM >

Re: [R] naiveBayes other than e1071

2007-06-04 Thread Kuhn, Max
true formula). I haven't seen the problem occur with this patch. HTH, Max -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Saeed Abu Nimeh Sent: Monday, June 04, 2007 2:45 PM To: r-help@stat.math.ethz.ch Subject: [R] naiveBayes other than e1071 Hi Lis

[R] naiveBayes other than e1071

2007-06-04 Thread Saeed Abu Nimeh
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")