Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
MCordingley
Regression
Algorithm
GradientDescent
Schedule
Adam
PHP Class MCordingley\Regression\Algorithm\GradientDescent\Schedule\Adam
See link:
http://sebastianruder.com/optimizing-gradient-descent/index.html#adam
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.001,
float
$eta
= 1.0E-8,
float
$meanBeta
= 0.9,
float
$varianceBeta
= 0.999 )
step
(
integer
$featureIndex
) :
float
update
(
array
$gradient
)
Method Details
__construct()
public
method
public
__construct
(
float
$stepSize
= 0.001,
float
$eta
= 1.0E-8,
float
$meanBeta
= 0.9,
float
$varianceBeta
= 0.999 )
$stepSize
float
$eta
float
$meanBeta
float
$varianceBeta
float
step()
public
method
public
step
(
integer
$featureIndex
) :
float
$featureIndex
integer
return
float
update()
public
method
public
update
(
array
$gradient
)
$gradient
array