mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-11 16:15:50 +00:00
Increase iterations number in Backpropagation test (sometimes it fails)
This commit is contained in:
parent
cbdc049526
commit
12d0adda62
@ -18,7 +18,7 @@ class BackpropagationTest extends \PHPUnit_Framework_TestCase
|
|||||||
[[1, 0], [0, 1], [1, 1], [0, 0]],
|
[[1, 0], [0, 1], [1, 1], [0, 0]],
|
||||||
[[1], [1], [0], [0]],
|
[[1], [1], [0], [0]],
|
||||||
$desiredError = 0.3,
|
$desiredError = 0.3,
|
||||||
30000
|
40000
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->assertEquals(0, $network->setInput([1, 1])->getOutput()[0], '', $desiredError);
|
$this->assertEquals(0, $network->setInput([1, 1])->getOutput()[0], '', $desiredError);
|
||||||
|
Loading…
Reference in New Issue
Block a user