| 1 | <?php |
||
| 9 | class Backpropagation implements Training |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param array $samples |
||
| 14 | * @param array $targets |
||
| 15 | * @param float $desiredError |
||
| 16 | * @param int $maxIterations |
||
| 17 | */ |
||
| 18 | public function train(array $samples, array $targets, float $desiredError = 0.001, int $maxIterations = 10000) |
||
| 22 | |||
| 23 | } |
||
| 24 |