ray.rllib.utils.schedules.polynomial_schedule.PolynomialSchedule#
- class ray.rllib.utils.schedules.polynomial_schedule.PolynomialSchedule(schedule_timesteps: int, final_p: float, framework: str | None, initial_p: float = 1.0, power: float = 2.0)[source]#
Bases:
Schedule
Polynomial interpolation between
initial_p
andfinal_p
.Over
schedule_timesteps
. After this many time steps, always returnsfinal_p
.Methods
Initializes a PolynomialSchedule instance.
Generates the value given a timestep (based on schedule's logic).