You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by Gouri Sankar Majumder <ma...@gmail.com> on 2014/02/03 12:28:15 UTC

How to Normalize Score of Naive Bayes Classifier

Naive Bayes classifier in Mahout classifies any text comes for
classification.

I want to restrict classifier from classifying texts not belonging to any
category of training model.

I was thinking of setting a threshold score for classification. But scores
are not comparable in different texts as they varies with size of input
vector.

Can any one help me to normalize the scores to make them comparable across
different texts.

Or is there any other way to achieve the same???


Thanks in advance for any help!!!

--
G S Majumder