mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tanis...@gmail.com
Subject Re: Nave Bayes Classifier and probability calculation for a singletest edxample
Date Wed, 04 May 2011 05:53:16 GMT

Sent from BlackBerry® on Airtel

-----Original Message-----
From: gaurav garg <gaurav.garg28@gmail.com>
Date: Wed, 4 May 2011 00:37:53 
To: <user@mahout.apache.org>
Reply-To: user@mahout.apache.org
Cc: <mahout-user@lucene.apache.org>
Subject: Re: Nave Bayes Classifier and probability calculation for a single
 test example

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
View raw message