package ANN
access private

 Methods

__construct()

__construct(\ANN\Network $objNetwork) 
uses \ANN\Maths::randomDelta()
used_by \ANN\Layer::createNeurons()

Parameters

$objNetwork

\ANN\Network

activate()

activate() 
uses \ANN\Maths::sigmoid()
used_by \ANN\Layer::activate()

adjustWeights()

adjustWeights() 
used_by \ANN\Layer::adjustWeights()

getDelta()

getDelta() : float
used_by \ANN\Layer::calculateHiddenDeltas()

Returns

float

getOutput()

getOutput() : float
used_by \ANN\Layer::activate()
used_by \ANN\Layer::calculateHiddenDeltas()
used_by \ANN\Layer::calculateOutputDeltas()

Returns

float

getWeight()

getWeight(integer $intKeyNeuron) : float
used_by \ANN\Layer::calculateHiddenDeltas()

Parameters

$intKeyNeuron

integer

Returns

float

getWeights()

getWeights() : array
used_by \ANN\Network::logWeights()

Returns

array

setDelta()

setDelta(float $floatDelta) 
used_by \ANN\Layer::calculateHiddenDeltas()
used_by \ANN\Layer::calculateOutputDeltas()

Parameters

$floatDelta

float

setInputs()

setInputs(array $arrInputs) 
uses \ANN\initializeWeights()
used_by \ANN\Layer::setInputs()

Parameters

$arrInputs

array

&$arrInputs

initializeWeights()

initializeWeights() 
uses \ANN\Maths::randomWeight()

 Properties

 

$arrInputs : array
 

$arrWeights : array
 

$floatDelta : float
 

$floatLearningRate 
 

$floatOutput : float
 

$objNetwork : \ANN\Network