PHP Class Phpml\NeuralNetwork\Training\Backpropagation\Sigma

显示文件 Open project: php-ai/php-ml

Public Methods

Method Description
__construct ( Neuron $neuron, float $sigma )
getNeuron ( ) : Neuron
getSigma ( ) : float
getSigmaForNeuron ( Neuron $neuron ) : float

Method Details

__construct() public method

public __construct ( Neuron $neuron, float $sigma )
$neuron Phpml\NeuralNetwork\Node\Neuron
$sigma float

getNeuron() public method

public getNeuron ( ) : Neuron
return Phpml\NeuralNetwork\Node\Neuron

getSigma() public method

public getSigma ( ) : float
return float

getSigmaForNeuron() public method

public getSigmaForNeuron ( Neuron $neuron ) : float
$neuron Phpml\NeuralNetwork\Node\Neuron
return float