public class NesterovParameterUpdate extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Vector |
prevIterationUpdates
Previous step weights updates.
|
Constructor and Description |
---|
NesterovParameterUpdate(int paramsCnt)
Construct NesterovParameterUpdate.
|
NesterovParameterUpdate(Vector prevIterationUpdates)
Construct NesterovParameterUpdate.
|
Modifier and Type | Method and Description |
---|---|
static NesterovParameterUpdate |
avg(List<NesterovParameterUpdate> parameters)
Get average of parameters updates.
|
Vector |
prevIterationUpdates()
Get previous step parameters updates.
|
NesterovParameterUpdate |
setPreviousUpdates(Vector updates)
Set previous step parameters updates.
|
static NesterovParameterUpdate |
sum(List<NesterovParameterUpdate> parameters)
Get sum of parameters updates.
|
protected Vector prevIterationUpdates
public NesterovParameterUpdate(int paramsCnt)
paramsCnt
- Count of parameters on which updateCache happens.public NesterovParameterUpdate(Vector prevIterationUpdates)
prevIterationUpdates
- Previous iteration updates.public NesterovParameterUpdate setPreviousUpdates(Vector updates)
updates
- Parameters updates.public Vector prevIterationUpdates()
public static NesterovParameterUpdate sum(List<NesterovParameterUpdate> parameters)
parameters
- Parameters to sum.public static NesterovParameterUpdate avg(List<NesterovParameterUpdate> parameters)
parameters
- Parameters to average.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024