public class FactorTracker extends LearningRateTracker
FactorTracker is an implementation of LearningRateTracker which is updated by a
multiplicative factor, at a constant interval of steps, until it reaches a specified stop value.| Modifier and Type | Class and Description |
|---|---|
static class |
FactorTracker.Builder
The Builder to construct an
FactorTracker object. |
LearningRateTracker.LrBaseBuilder<T extends LearningRateTracker.LrBaseBuilder>| Constructor and Description |
|---|
FactorTracker(FactorTracker.Builder builder)
Creates a new instance of
FactorTracker. |
| Modifier and Type | Method and Description |
|---|---|
float |
getNewLearningRate(int numUpdate)
Fetches the value of the learning rate after the given number of steps/updates.
|
factorTracker, fixedLearningRate, multiFactorTrackerpublic FactorTracker(FactorTracker.Builder builder)
FactorTracker.builder - the builder to create a new instance of FactorTrackerpublic float getNewLearningRate(int numUpdate)
getNewLearningRate in class LearningRateTrackernumUpdate - the number of steps/updatesBuilder