PHP Class MCordingley\Regression\Algorithm\GradientDescent\Batch

Inheritance: extends GradientDescent
Mostra file Open project: mcordingley/regression

Protected Methods

Method Description
calculateGradient ( Observations $observations, array $coefficients ) : array

Method Details

calculateGradient() protected method

protected calculateGradient ( Observations $observations, array $coefficients ) : array
$observations MCordingley\Regression\Observations
$coefficients array
return array