@Test public void testGradientmachine() throws IOException { Vector target = readStandardData(); GradientMachine grad = new GradientMachine(8,4,2).learningRate(0.1).regularization(0.01); Random gen = RandomUtils.getRandom(); grad.initWeights(gen); train(getInput(), target, grad); // TODO not sure why the RNG change made this fail. Value is 0.5-1.0 no matter what seed is chosen? test(getInput(), target, grad, 1.0, 1); //test(getInput(), target, grad, 0.05, 1); }