php-ml/src/Phpml/NeuralNetwork/Training.php
2016-08-07 23:41:02 +02:00

17 lines
350 B
PHP

<?php
declare (strict_types = 1);
namespace Phpml\NeuralNetwork;
interface Training
{
/**
* @param array $samples
* @param array $targets
* @param float $desiredError
* @param int $maxIterations
*/
public function train(array $samples, array $targets, float $desiredError = 0.001, int $maxIterations = 10000);
}