RmspropOptimizer
class RmspropOptimizer(val featureSize: Int, val learningRate: ScalarExpr, val rho: Double = 0.9, val epsilon: Double = 1.0E-8, concurrency: Concurrency = Concurrency.None) : Optimizer(source)
RMSProp: exponential moving average of squared gradients with decay rho; effective per-coord learning rate is lr / sqrt(emaG2[i] + epsilon).
Constructors
Link copied to clipboard
constructor(featureSize: Int, learningRate: ScalarExpr, rho: Double = 0.9, epsilon: Double = 1.0E-8, concurrency: Concurrency = Concurrency.None)
Properties
Functions
Link copied to clipboard
open override fun computeDelta(coordIndex: Int, gradient: Double, observationWeight: Double): Double
Per-coordinate update. Reads/writes any auxiliary state owned by the optimizer, then returns the delta the caller should add to w[coordIndex].
RmspropOptimizer
constructor(featureSize: Int, learningRate: ScalarExpr, rho: Double = 0.9, epsilon: Double = 1.0E-8, concurrency: Concurrency = Concurrency.None)(source)
advance
computeDelta
epsilon
featureSize
Number of weight coordinates this optimizer manages.
learningRate
Base learning-rate schedule.