mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harish Kumar Palaniswamy <harishkuma...@gmail.com>
Subject Changing cost of misclassification in Mahout Naive Bayes
Date Thu, 18 Jul 2013 22:40:59 GMT
Hello,
is there anyway to change the cost of misclassification in the Mahout naive
bayes algorithm?  I have a binary classifier with a dataset consisting 98%
of Class A documents and 2% Class B docs. Naturally, to help with the
imbalance, I want to tell the classifier that the cost of misclassifying B
as A is greater than misclassifying A as B.

Best,
Harish Kumar

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message