polarcbo.scheduler.beta_exponential
- class polarcbo.scheduler.beta_exponential(opt, beta=1.0, beta_max=100000.0, r=1.0)[source]
Bases:
scheduler_base
Exponential scheduler class
This class implements an exponential scheduler for the \(\beta\)-parameter. The \(\beta\)-parameter is updated according to the rule
\[\beta_{k+1} = \beta_k \cdot r\]where \(r\) is a parameter of the class.
- Parameters:
opt (object) – The optimizer for which the \(\beta\)-parameter should be updated
beta (float, optional) – The initial value of the \(\beta\)-parameter. The default is 1.0.
beta_max (float, optional) – The maximum value of the \(\beta\)-parameter. The default is 100000.0.
r (float, optional) – The parameter \(r\) of the scheduler. The default is 1.0.