HessianFD testFD = new HessianFD();
testFD.init(network, trainingData);
testFD.compute();
HessianCR testCR = new HessianCR();
testCR.init(network, trainingData);
testCR.compute();
//dump(testFD, "FD");
//dump(testCR, "CR");
Assert.assertTrue(testCR.getHessianMatrix().equals(testFD.getHessianMatrix(), 4));
}