mpcrl.core.schedulers.Scheduler#
- class mpcrl.core.schedulers.Scheduler(init_value)[source]#
-
Base abstract class for schedulers.
Schedulers are helpful classes to update or decay different quantities, such as learning rates or exploration probability.
- Parameters:
- init_valuesupports-algebraic-operations
Initial value that will be updated by this scheduler.
Notes
If the scheduler has a final iteration, it is expected to raise a
StopIterationwhen the last iteration is reached.Methods
step()Updates the value of the scheduler by one step.