Develop to master (#18)

* Fix Backpropagation test with explicit random generator seed

* remove custom seed - not working :(

* Updated links in readme
This commit is contained in:
Arkadiusz Kondas 2016-08-21 14:03:20 +02:00 committed by GitHub
parent 41ac2e33ae
commit 6421a2ba41
2 changed files with 3 additions and 3 deletions

View File

@ -89,8 +89,8 @@ Example scripts are available in a separate repository [php-ai/php-ml-examples](
## Contribute ## Contribute
- Issue Tracker: github.com/php-ai/php-ml/issues - [Issue Tracker: github.com/php-ai/php-ml](https://github.com/php-ai/php-ml/issues)
- Source Code: github.com/php-ai/php-ml - [Source Code: github.com/php-ai/php-ml](https://github.com/php-ai/php-ml)
You can find more about contributing in [CONTRIBUTING.md](CONTRIBUTING.md). You can find more about contributing in [CONTRIBUTING.md](CONTRIBUTING.md).

View File

@ -17,7 +17,7 @@ class BackpropagationTest extends \PHPUnit_Framework_TestCase
$training->train( $training->train(
[[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.2, $desiredError = 0.3,
30000 30000
); );