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

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, integer $n )
converged ( array $gradient, array $coefficients ) : boolean

Method Details

__construct() public méthode

public __construct ( MCordingley\Regression\Algorithm\GradientDescent\StoppingCriteria\StoppingCriteria $criteria, integer $n )
$criteria MCordingley\Regression\Algorithm\GradientDescent\StoppingCriteria\StoppingCriteria
$n integer

converged() public méthode

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