public class RPropParameterUpdate extends Object implements Serializable
See RProp.
Modifier and Type | Field and Description |
---|---|
static IgniteFunction<List<RPropParameterUpdate>,RPropParameterUpdate> |
AVG
Averages updates returned by different trainings.
|
protected Vector |
deltas
Previous iteration parameters deltas.
|
protected Vector |
prevIterationGradient
Previous iteration model partial derivatives by parameters.
|
protected Vector |
prevIterationUpdates
Previous iteration parameters updates.
|
static IgniteFunction<List<RPropParameterUpdate>,RPropParameterUpdate> |
SUM
Sums updates returned by different trainings.
|
static IgniteFunction<List<RPropParameterUpdate>,RPropParameterUpdate> |
SUM_LOCAL
Sums updates during one training.
|
protected Vector |
updatesMask
Updates mask (values by which updateCache is multiplied).
|
Constructor and Description |
---|
RPropParameterUpdate(Vector prevIterationUpdates,
Vector prevIterationGradient,
Vector deltas,
Vector updatesMask)
Construct instance of this class by given parameters.
|
Modifier and Type | Method and Description |
---|---|
RPropParameterUpdate |
setDeltas(Vector deltas)
Set previous iteration deltas.
|
RPropParameterUpdate |
setUpdatesMask(Vector updatesMask)
Set updates mask (values by which updateCache is multiplied).
|
Vector |
updatesMask()
Get updates mask (values by which updateCache is multiplied).
|
public static final IgniteFunction<List<RPropParameterUpdate>,RPropParameterUpdate> SUM
public static final IgniteFunction<List<RPropParameterUpdate>,RPropParameterUpdate> AVG
public static final IgniteFunction<List<RPropParameterUpdate>,RPropParameterUpdate> SUM_LOCAL
protected Vector prevIterationUpdates
protected Vector prevIterationGradient
protected Vector deltas
protected Vector updatesMask
public RPropParameterUpdate(Vector prevIterationUpdates, Vector prevIterationGradient, Vector deltas, Vector updatesMask)
prevIterationUpdates
- Previous iteration parameters updates.prevIterationGradient
- Previous iteration model partial derivatives by parameters.deltas
- Previous iteration parameters deltas.updatesMask
- Updates mask.public Vector updatesMask()
public RPropParameterUpdate setUpdatesMask(Vector updatesMask)
updatesMask
- New updatesMask.public RPropParameterUpdate setDeltas(Vector deltas)
deltas
- New deltas.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024