AdaGradDA
class AdaGradDA(learningRate: Float, initialAccumulatorValue: Float, l1Strength: Float, l2Strength: Float, clipGradient: ClipGradientAction) : Optimizer
Content copied to clipboard
Adagrad Dual Averaging algorithm for sparse linear models.
This optimizer takes care of regularization of unseen features in a mini batch by updating them when they are seen with a closed form update rule that is equivalent to having updated them on every mini-batch.
AdagradDA is typically used when there is a need for large sparsity in the trained model. This optimizer only guarantees sparsity for linear models. Be careful when using AdagradDA for deep networks as it will require careful initialization of the gradient accumulators for it to train.
It is recommended to leave the parameters of this optimizer at their default values.
See also
Constructors
Properties
clipGradient
Link copied to clipboard
Strategy of gradient clipping as subclass of ClipGradientAction.
optimizerName
Link copied to clipboard