Re: Nave Bayes Classifier and probability calculation for a single test example

2011-05-04 Thread gaurav garg
BlackBerry® on Airtel >> >> -Original Message- >> From: gaurav garg >> Date: Wed, 4 May 2011 00:37:53 >> To: >> Reply-To: user@mahout.apache.org >> Cc: >> Subject: Re: Nave Bayes Classifier and probability calculation for a >> single >

Re: Nave Bayes Classifier and probability calculation for a single test example

2011-05-03 Thread gaurav garg
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