Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Providing classification labels to Naive Bayes

$
0
0
Hi,

 

I tried to run Naïve Bayes program on a digit recognition data set. If the program itself extracts the labels, it runs fine.

 

If I provide a file which contains the labels, then the program throws an exception saying that the number of labels is 0.

 

Why is this happening?

 

Thanks,
Suman.

Viewing all articles
Browse latest Browse all 5648

Trending Articles