Thanks a lot Rob. That makes things clear.
Also, there is one thing that I didn't understand about this.
If I use Frequence based or Gaussian based models, I do
not get correct results. As in, the prediction is always the
same label, though weights are a little differenct each time.
However, thn
Saurabh Singhvi wrote:
>
Hi all,
I used the Algorithm::NaiveBayes from CPAN. Now it's all working fine
on the syntax. The problem is that I cannot get the 'result'. I trained the
algorithm with some attributes and provided the labels alongwith using
add_instance. And then trained it with train()
Hi all,
I used the Algorithm::NaiveBayes from CPAN. Now it's all working fine
on the syntax. The problem is that I cannot get the 'result'. I trained the
algorithm with some attributes and provided the labels alongwith using
add_instance. And then trained it with train(). Now, to predict I used t