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
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
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
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
>
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
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")