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 and final_p.

Over schedule_timesteps. After this many time steps, always returns final_p.

Methods

__init__

Initializes a PolynomialSchedule instance.

value

Generates the value given a timestep (based on schedule's logic).