[
https://issues.apache.org/jira/browse/MAHOUT-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044438#comment-13044438
]
XiaoboGu commented on MAHOUT-696:
---------------------------------
The patch you submit still has the following NullPointerException, and I have
added a new file validateAdaptiveLogistic.java file, you can see the new PATCH
I will post shortly
Exception in thread "main" java.lang.IllegalStateException:
java.lang.NullPointerException
at
org.apache.mahout.classifier.sgd.AdaptiveLogisticRegression.trainWithBufferedExamples(AdaptiveLogisticRegression.java:144)
at
org.apache.mahout.classifier.sgd.AdaptiveLogisticRegression.train(AdaptiveLogisticRegression.java:117)
at
org.apache.mahout.classifier.sgd.AdaptiveLogisticRegression.train(AdaptiveLogisticRegression.java:103)
at
org.apache.mahout.classifier.sgd.TrainAdaptiveLogistic.main(TrainAdaptiveLogistic.java:88)
Caused by: java.lang.NullPointerException
at
org.apache.mahout.classifier.sgd.CrossFoldLearner.train(CrossFoldLearner.java:134)
at
org.apache.mahout.classifier.sgd.AdaptiveLogisticRegression$Wrapper.train(AdaptiveLogisticRegression.java:411)
at
org.apache.mahout.classifier.sgd.AdaptiveLogisticRegression$1.apply(AdaptiveLogisticRegression.java:128)
at
org.apache.mahout.classifier.sgd.AdaptiveLogisticRegression$1.apply(AdaptiveLogisticRegression.java:1)
at
org.apache.mahout.ep.EvolutionaryProcess$1.call(EvolutionaryProcess.java:146)
at
org.apache.mahout.ep.EvolutionaryProcess$1.call(EvolutionaryProcess.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
> Command line program for AdaptiveLogiscticRegression
> ----------------------------------------------------
>
> Key: MAHOUT-696
> URL: https://issues.apache.org/jira/browse/MAHOUT-696
> Project: Mahout
> Issue Type: Improvement
> Components: Classification
> Affects Versions: 0.5
> Reporter: XiaoboGu
> Assignee: Ted Dunning
> Fix For: 0.6
>
> Attachments: MAHOUT-696.patch, mahout-696-r1.patch,
> mahout-696-r2.patch, mahout-696-r3.patch, mahout-696-r4.patch,
> mahout-696-r5.patch
>
>
> Suggested by Ted, I'll try to write a command line program for
> AdaptiveLogicticRegression, but as I am not familir with the algorithm, I'll
> try to write a prototype for the program from a Java developer's perspactive,
> hope anyone else will help with the details of the algorithm.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira