PolynomialScheduler#
- class composer.optim.PolynomialScheduler(power, t_max='1dur', alpha_f=0.0)[source]#
Sets the learning rate to be proportional to a power of the fraction of training time left.
Specifially, the learning rate multiplier can be expressed as:
Given , the fraction of time elapsed (clipped to the interval ), as:
Where represents the exponent to be used for the proportionality relationship, represents the duration of this scheduler, and represents the learning rate multiplier to decay to.