Oh, this is caused by the testing of the MultilayerPerceptron, with small probability, the model will fail to learn the correct answer, I will fix this problem.
2013/8/6 Edward J. Yoon <[email protected]> > Hi, > > Can someone look at this please? > > > -- > > org.apache.hama.ml.perception.TestSmallMultiLayerPerceptron.testWithMomentum > > Failing for the past 1 build (Since Failed#151 ) > Took 0 ms. > Error Message > > expected:<1.0> but was:<0.32161226737726983> > Stacktrace > > java.lang.AssertionError: expected:<1.0> but was:<0.32161226737726983> > at org.junit.Assert.fail(Assert.java:91) > at org.junit.Assert.failNotEquals(Assert.java:645) > at org.junit.Assert.assertEquals(Assert.java:441) > at org.junit.Assert.assertEquals(Assert.java:510) > at > org.apache.hama.ml.perception.TestSmallMultiLayerPerceptron.testWithMomentum(TestSmallMultiLayerPerceptron.java:337) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) > at > org.junit.experimental.ParallelComputer$1$1.call(ParallelComputer.java:46) > 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:895) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) > at java.lang.Thread.run(Thread.java:662) > > > -- > Best Regards, Edward J. Yoon > @eddieyoon > -- ------ Yexi Jiang, ECS 251, [email protected] School of Computer and Information Science, Florida International University Homepage: http://users.cis.fiu.edu/~yjian004/
