Re: Naive Bayes classification module of CPAN

2006-11-01 Thread Saurabh Singhvi
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

Re: Naive Bayes classification module of CPAN

2006-10-31 Thread Rob Dixon
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()

Naive Bayes classification module of CPAN

2006-10-31 Thread Saurabh Singhvi
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