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

Inheritance: implements MCordingley\Regression\Algorithm\GradientDescent\StoppingCriteria\StoppingCriteria
Afficher le fichier Open project: mcordingley/regression Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( MCordingley\Regression\Algorithm\GradientDescent\StoppingCriteria\StoppingCriteria $criteria, callable $onIteration )
converged ( array $gradient, array $coefficients ) : boolean

Method Details

__construct() public méthode

public __construct ( MCordingley\Regression\Algorithm\GradientDescent\StoppingCriteria\StoppingCriteria $criteria, callable $onIteration )
$criteria MCordingley\Regression\Algorithm\GradientDescent\StoppingCriteria\StoppingCriteria
$onIteration callable

converged() public méthode

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