public class SimpleGDParameterUpdate extends Object implements Serializable
SimpleGDUpdateCalculator
.Constructor and Description |
---|
SimpleGDParameterUpdate(int paramsCnt)
Construct instance of this class.
|
SimpleGDParameterUpdate(Vector gradient)
Construct instance of this class.
|
Modifier and Type | Method and Description |
---|---|
static SimpleGDParameterUpdate |
avg(List<SimpleGDParameterUpdate> updates)
Method used to get total update of all parallel trainings.
|
Vector |
gradient()
Get gradient.
|
static SimpleGDParameterUpdate |
sumLocal(List<SimpleGDParameterUpdate> updates)
Method used to sum updates inside of one of parallel trainings.
|
public SimpleGDParameterUpdate(int paramsCnt)
paramsCnt
- Count of parameters.public SimpleGDParameterUpdate(Vector gradient)
gradient
- Gradient.public Vector gradient()
public static SimpleGDParameterUpdate sumLocal(List<SimpleGDParameterUpdate> updates)
updates
- Updates.public static SimpleGDParameterUpdate avg(List<SimpleGDParameterUpdate> updates)
updates
- Updates.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019