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