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