double[] test = { 0, 0 };
double[] result2 = { 0.807476 };
DoubleVector vec = ann2.getOutput(new DenseDoubleVector(test));
assertArrayEquals(result2, vec.toArray(), 0.000001);
SmallLayeredNeuralNetwork ann3 = new SmallLayeredNeuralNetwork();
ann3.addLayer(2, false, FunctionFactory.createDoubleFunction("Sigmoid"));
ann3.addLayer(3, false, FunctionFactory.createDoubleFunction("Sigmoid"));
ann3.addLayer(1, true, FunctionFactory.createDoubleFunction("Sigmoid"));