mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Kumar <joeku...@gmail.com>
Subject Re: Error in lda reuters example ?
Date Fri, 15 Oct 2010 04:59:30 GMT
It was a version issue. All works good now.

On Thu, Oct 14, 2010 at 8:57 AM, Joe Kumar <joekumar@gmail.com> wrote:

> Team,
>
> When I was trying the reuters examples using lda (./bin/mahout lda -i
> ./examples/bin/work/reuters-out-seqdir-sparse/tf-vectors -o
> ./examples/bin/work/reuters-lda -k 20 -v 50000 -ow -x 20)
> encountered the below exception.
>
> Exception in thread "main" java.lang.NullPointerException
> at
> org.apache.mahout.clustering.lda.LDADriver.runIteration(LDADriver.java:259)
>  at org.apache.mahout.clustering.lda.LDADriver.run(LDADriver.java:174)
>  at org.apache.mahout.clustering.lda.LDADriver.run(LDADriver.java:152)
>  at org.apache.mahout.clustering.lda.LDADriver.main(LDADriver.java:78)
>
> I've to run to office and so havent fully analyzed the issue but thought
> i'll quickly post it incase someone is aware of the solution.
> As far as i saw it looks like conf.set(STATE_IN_KEY, stateIn.toString());
> is throwing this NPE because object conf is null.
> We are setting the conf object by calling getConf()
>
> If anyone is aware of this issue please share the details for fix.
>
> regards
> Joe.
>

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