mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Using NB classifier
Date Tue, 09 Nov 2010 20:09:55 GMT
You are close.  The testing for correctness involves computing the
classification according to the Naive Bayes model.

You should also look at TrainNewsGroups in the examples.  It shows how to
build and run an SGD model which is the major
alternative in Mahout to the NaiveBayes models.

On Tue, Nov 9, 2010 at 11:41 AM, ivek gimmick <gimmickivek@gmail.com> wrote:

> Hi, I am trying to solve a simple classification problem.
>
>
> The Problem:
>    I have a set of text and I have to categorize them based on the content.
>
> Solution using Mahout:
>
>    I understood that I have to convert the input to a sequence file to
> generate the model.  Yes, I was able to do this.  Now, how do I categorize
> my test data?  The 20News example only tests for correctness.  But,  I want
> to do the actual classification.
>
>    I am not sure if I need to write code or use some existing classes
> available to classify the test set.
>
>
> P.S. Sorry if you are seeing this message for the 2nd time.
>
> Regards,
> ~Gim
>

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