PHP Class MCordingley\Regression\Algorithm\GradientDescent\Stochastic

Inheritance: extends GradientDescent
Show 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