Esempio n. 1
0
void Neuron::calculateHiddenGradients(const Layer &nextLayer) {
    double dow= sumDOW(nextLayer);
    gradient = dow * Neuron::transferFunctionTanHDerivative(outputValue);
}
Esempio n. 2
0
void Neuron::calcHiddenGradients( const Layer &nextLayer )
{
    double dow = sumDOW( nextLayer );
    _gradient = dow * Neuron::transfertFunctionDerivative( _outputVal );
}