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

Inheritance: implements MCordingley\Regression\Algorithm\GradientDescent\StoppingCriteria\StoppingCriteria
显示文件 Open project: mcordingley/regression Class Usage Examples

Public Methods

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

Method Details

__construct() public method

public __construct ( integer $seconds )
$seconds integer

converged() public method

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