public class AdaDelta extends Object implements IUpdater
Ada delta updater. More robust adagrad that keeps track of a moving window average of the gradient rather than the every decaying learning rates of adagrad
Note: AdaDelta is unique in that it doesn't require manual setting of a learning rate
| Modifier and Type | Class and Description |
|---|---|
static class |
AdaDelta.Builder |
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_ADADELTA_EPSILON |
static double |
DEFAULT_ADADELTA_RHO |
| Constructor and Description |
|---|
AdaDelta() |
| Modifier and Type | Method and Description |
|---|---|
void |
applySchedules(int iteration,
double newLearningRate)
Apply the new learning rate and any other schedules
|
AdaDelta |
clone()
Clone the updater
|
GradientUpdater |
instantiate(INDArray viewArray,
boolean initializeViewArray)
Create a new gradient updater
|
long |
stateSize(long numParams)
Determine the updater state size for the given number of parameters.
|
public static final double DEFAULT_ADADELTA_RHO
public static final double DEFAULT_ADADELTA_EPSILON
public long stateSize(long numParams)
IUpdaterpublic void applySchedules(int iteration,
double newLearningRate)
IUpdaterapplySchedules in interface IUpdateriteration - Current iteration countnewLearningRate - new learning rate to set for the updaterpublic GradientUpdater instantiate(INDArray viewArray, boolean initializeViewArray)
IUpdaterinstantiate in interface IUpdaterviewArray - The updater state size view awayinitializeViewArray - If true: initialise the updater stateCopyright © 2017. All rights reserved.