thank you for reporting this. The "-el" option was removed from 'mahout trainnb' in v0.10.0
It is now the default action. That piece of documentation needs to be updated. Andy -------- Original message -------- From: Andrew Musselman <andrew.mussel...@gmail.com> Date: 02/04/2016 2:20 PM (GMT-05:00) To: Alok Tanna <tannaa...@gmail.com> Cc: user@mahout.apache.org Subject: Re: Mahout error : seq2sparse Great to hear! If you're up for it you could sign up and file a bug at https://issues.apache.org/jira/browse/MAHOUT so we can track that. Thanks! On Thu, Feb 4, 2016 at 11:18 AM, Alok Tanna <tannaa...@gmail.com> wrote: > Thank you so much Andrew it did work with the latest version in local > mode. > > I found one thing that with the new version in the twenty-newsgroups > classification example( > https://mahout.apache.org/users/classification/twenty-newsgroups.html) > this command > 6. Train the classifier > > $ mahout trainnb > -i ${WORK_DIR}/20news-train-vectors > -el > -o ${WORK_DIR}/model > -li ${WORK_DIR}/labelindex > -ow > -c > > > wont work with -el parameter . Once I removed it worked fine. not sure > why ? > > with this -el parameter it worked with earlier versions. > > Thanks, > Alok Tanna > > On Thu, Feb 4, 2016 at 2:18 AM, Alok Tanna <tannaa...@gmail.com> wrote: > >> Will try to update it to night to the latest version and then give it a >> try . >> >> Thanks, >> Alok Tanna >> >> On Thu, Feb 4, 2016 at 1:48 AM, Andrew Musselman < >> andrew.mussel...@gmail.com> wrote: >> >>> Would recommend updating to the latest version if you can; you're >>> probably working with two-releases-old code. >>> >>> >>> On Wednesday, February 3, 2016, Alok Tanna <tannaa...@gmail.com> wrote: >>> >>>> Thank you Andrew . I was able to remove empty lines with your help and >>>> also run re run the process but then still I am getting the same error. >>>> >>>> when I just run Mahout it shows me this >>>> jar /mahout-examples-1.0-SNAPSHOT-job.jar! >>>> >>>> I think only option I have now is to set up the cluster and run it on >>>> that >>>> >>>> Thanks, >>>> Alok Tanna >>>> >>>> >> >> >> -- >> Thanks & Regards, >> >> Alok R. Tanna >> >> > > > > -- > Thanks & Regards, > > Alok R. Tanna > >