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
Afficher le fichier Open project: mcordingley/regression Class Usage Examples

Méthodes publiques

Méthode Description
converged ( array $gradient, array $coefficients ) : boolean

Method Details

converged() public méthode

public converged ( array $gradient, array $coefficients ) : boolean
$gradient array
$coefficients array
Résultat boolean