Méthode | Description | |
---|---|---|
__construct ( Phpml\NeuralNetwork\Network $network, integer $theta = 1 ) | ||
train ( array $samples, array $targets, float $desiredError = 0.001, integer $maxIterations = 10000 ) |
Méthode | Description | |
---|---|---|
getPrevSigma ( |
||
getSigma ( |
||
isResultWithinError ( array $result, array $target, float $desiredError ) : boolean | ||
trainSample ( array $sample, array $target ) | ||
trainSamples ( array $samples, array $targets, float $desiredError ) : integer |
public __construct ( Phpml\NeuralNetwork\Network $network, integer $theta = 1 ) | ||
$network | Phpml\NeuralNetwork\Network | |
$theta | integer |