Sent from BlackBerry® on Airtel -----Original Message----- From: gaurav garg <[email protected]> Date: Wed, 4 May 2011 00:37:53 To: <[email protected]> Reply-To: [email protected] Cc: <[email protected]> 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
