PHP Class MCordingley\Regression\Algorithm\GradientDescent\Schedule\Adagrad

Inheritance: implements MCordingley\Regression\Algorithm\GradientDescent\Schedule\Schedule
Mostra file Open project: mcordingley/regression Class Usage Examples

Public Methods

Method Description
__construct ( float $stepSize = 0.01, float $eta = 1.0E-6 )
step ( integer $featureIndex ) : float
update ( array $gradient )

Method Details

__construct() public method

public __construct ( float $stepSize = 0.01, float $eta = 1.0E-6 )
$stepSize float
$eta float

step() public method

public step ( integer $featureIndex ) : float
$featureIndex integer
return float

update() public method

public update ( array $gradient )
$gradient array