PHP Class MCordingley\Regression\Algorithm\GradientDescent\Stochastic

Inheritance: extends GradientDescent
显示文件 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