PHP Class MCordingley\Regression\Algorithm\GradientDescent\StoppingCriteria\CoefficientEquality

This represents a complete convergence of the descent, but can take a long time to occur, as the update for each weight must become smaller than can be represented in floating points.
Inheritance: implements MCordingley\Regression\Algorithm\GradientDescent\StoppingCriteria\StoppingCriteria
Datei anzeigen Open project: mcordingley/regression Class Usage Examples

Public Methods

Method Description
converged ( array $gradient, array $coefficients ) : boolean

Method Details

converged() public method

public converged ( array $gradient, array $coefficients ) : boolean
$gradient array
$coefficients array
return boolean