You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Suman Somasundar <su...@oracle.com> on 2014/12/12 23:46:59 UTC
Providing classification labels to Naive Bayes
Hi,
I tried to run Naïve Bayes program on a digit recognition data set. If the program itself extracts the labels, it runs fine.
If I provide a file which contains the labels, then the program throws an exception saying that the number of labels is 0.
Why is this happening?
Thanks,
Suman.
RE: Providing classification labels to Naive Bayes
Posted by Suman Somasundar <su...@oracle.com>.
Hi,
I have created the JIRA MAHOUT-1635 with respect to this issue.
Thanks,
Suman.
-----Original Message-----
From: Andrew Palumbo [mailto:ap.dev@outlook.com]
Sent: Tuesday, December 16, 2014 3:06 PM
To: user@mahout.apache.org
Subject: RE: Providing classification labels to Naive Bayes
Hi Suman,
Attachments don't come through on the user list. Would you mind starting a Jira issue for this with an small example of your data and the error that you're receiving? This may be a feature that was not fully implemented in the most recent MapReduce version of Naive Bayes.
Thanks,
Andy
> Date: Tue, 16 Dec 2014 14:38:23 -0800
> From: suman.somasundar@oracle.com
> To: user@mahout.apache.org
> CC: tell2jyoti@gmail.com
> Subject: RE: Providing classification labels to Naive Bayes
>
> Hi,
>
> Attached is the sample dataset.
>
> I using the latest version of Mahout (downloaded from git).
>
> Thanks,
> Suman.
>
> -----Original Message-----
> From: jyotiranjan panda [mailto:tell2jyoti@gmail.com]
> Sent: Sunday, December 14, 2014 7:23 PM
> To: user@mahout.apache.org
> Subject: Re: Providing classification labels to Naive Bayes
>
> Can you give the training dataset example.
>
> Regards
> Jyoti Ranjan Panda
>
> On Sat, Dec 13, 2014 at 4:16 AM, Suman Somasundar < suman.somasundar@oracle.com> wrote:
> >
> > Hi,
> >
> >
> >
> > I tried to run Naïve Bayes program on a digit recognition data set.
> > If the program itself extracts the labels, it runs fine.
> >
> >
> >
> > If I provide a file which contains the labels, then the program
> > throws an exception saying that the number of labels is 0.
> >
> >
> >
> > Why is this happening?
> >
> >
> >
> > Thanks,
> > Suman.
> >
RE: Providing classification labels to Naive Bayes
Posted by Andrew Palumbo <ap...@outlook.com>.
Hi Suman,
Attachments don't come through on the user list. Would you mind starting a Jira issue for this with an small example of your data and the error that you're receiving? This may be a feature that was not fully implemented in the most recent MapReduce version of Naive Bayes.
Thanks,
Andy
> Date: Tue, 16 Dec 2014 14:38:23 -0800
> From: suman.somasundar@oracle.com
> To: user@mahout.apache.org
> CC: tell2jyoti@gmail.com
> Subject: RE: Providing classification labels to Naive Bayes
>
> Hi,
>
> Attached is the sample dataset.
>
> I using the latest version of Mahout (downloaded from git).
>
> Thanks,
> Suman.
>
> -----Original Message-----
> From: jyotiranjan panda [mailto:tell2jyoti@gmail.com]
> Sent: Sunday, December 14, 2014 7:23 PM
> To: user@mahout.apache.org
> Subject: Re: Providing classification labels to Naive Bayes
>
> Can you give the training dataset example.
>
> Regards
> Jyoti Ranjan Panda
>
> On Sat, Dec 13, 2014 at 4:16 AM, Suman Somasundar < suman.somasundar@oracle.com> wrote:
> >
> > Hi,
> >
> >
> >
> > I tried to run Naïve Bayes program on a digit recognition data set. If
> > the program itself extracts the labels, it runs fine.
> >
> >
> >
> > If I provide a file which contains the labels, then the program throws
> > an exception saying that the number of labels is 0.
> >
> >
> >
> > Why is this happening?
> >
> >
> >
> > Thanks,
> > Suman.
> >
RE: Providing classification labels to Naive Bayes
Posted by Suman Somasundar <su...@oracle.com>.
Hi,
Attached is the sample dataset.
I using the latest version of Mahout (downloaded from git).
Thanks,
Suman.
-----Original Message-----
From: jyotiranjan panda [mailto:tell2jyoti@gmail.com]
Sent: Sunday, December 14, 2014 7:23 PM
To: user@mahout.apache.org
Subject: Re: Providing classification labels to Naive Bayes
Can you give the training dataset example.
Regards
Jyoti Ranjan Panda
On Sat, Dec 13, 2014 at 4:16 AM, Suman Somasundar < suman.somasundar@oracle.com> wrote:
>
> Hi,
>
>
>
> I tried to run Naïve Bayes program on a digit recognition data set. If
> the program itself extracts the labels, it runs fine.
>
>
>
> If I provide a file which contains the labels, then the program throws
> an exception saying that the number of labels is 0.
>
>
>
> Why is this happening?
>
>
>
> Thanks,
> Suman.
>
Re: Providing classification labels to Naive Bayes
Posted by jyotiranjan panda <te...@gmail.com>.
Can you give the training dataset example.
Regards
Jyoti Ranjan Panda
On Sat, Dec 13, 2014 at 4:16 AM, Suman Somasundar <
suman.somasundar@oracle.com> wrote:
>
> Hi,
>
>
>
> I tried to run Naïve Bayes program on a digit recognition data set. If the
> program itself extracts the labels, it runs fine.
>
>
>
> If I provide a file which contains the labels, then the program throws an
> exception saying that the number of labels is 0.
>
>
>
> Why is this happening?
>
>
>
> Thanks,
> Suman.
>