From 12d0adda62f053c50d33b39a5aabf291a3b641a2 Mon Sep 17 00:00:00 2001 From: Arkadiusz Kondas Date: Sun, 20 Nov 2016 22:56:18 +0100 Subject: [PATCH] Increase iterations number in Backpropagation test (sometimes it fails) --- tests/Phpml/NeuralNetwork/Training/BackpropagationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Phpml/NeuralNetwork/Training/BackpropagationTest.php b/tests/Phpml/NeuralNetwork/Training/BackpropagationTest.php index 30f633f..dac5066 100644 --- a/tests/Phpml/NeuralNetwork/Training/BackpropagationTest.php +++ b/tests/Phpml/NeuralNetwork/Training/BackpropagationTest.php @@ -18,7 +18,7 @@ class BackpropagationTest extends \PHPUnit_Framework_TestCase [[1, 0], [0, 1], [1, 1], [0, 0]], [[1], [1], [0], [0]], $desiredError = 0.3, - 30000 + 40000 ); $this->assertEquals(0, $network->setInput([1, 1])->getOutput()[0], '', $desiredError);