mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-09-27 14:39:02 +00:00
17 lines
350 B
PHP
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);
|
|
}
|