mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gaurav garg <gaurav.gar...@gmail.com>
Subject Re: Nave Bayes Classifier and probability calculation for a single test example
Date Tue, 03 May 2011 19:07:53 GMT
Hi Svetlomir,

You can use ClassifierContext class (
https://builds.apache.org/hudson/job/Mahout-Quality/javadoc/index.html?org/apache/mahout/common/StringTuple.html)
to get the top N matching result and their respective scores.

Hope it helps.

Thanks
Gaurav

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