Re: Nave Bayes Classifier and probability calculation for a single test example
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
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