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

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

Méthodes publiques

Méthode Description
__construct ( float $rate = 0.9, float $stepSize = 0.001, float $eta = 1.0E-6 )
step ( integer $featureIndex ) : float
update ( array $gradient )

Method Details

__construct() public méthode

public __construct ( float $rate = 0.9, float $stepSize = 0.001, float $eta = 1.0E-6 )
$rate float
$stepSize float
$eta float

step() public méthode

public step ( integer $featureIndex ) : float
$featureIndex integer
Résultat float

update() public méthode

public update ( array $gradient )
$gradient array