Метод | Описание | |
---|---|---|
__construct ( array $hiddenLayers = [10], float $desiredError = 0.01, integer $maxIterations = 10000, Phpml\NeuralNetwork\ActivationFunction $activationFunction = null ) | ||
train ( array $samples, array $targets ) |
Метод | Описание | |
---|---|---|
predictSample ( array $sample ) : array |
protected predictSample ( array $sample ) : array | ||
$sample | array | |
Результат | array |