StepScheduler<T>

Models & Types ยท AiDotNet.CurriculumLearning.Schedulers

Curriculum scheduler with discrete step-based progression.

Inheritance: CurriculumSchedulerBase<T> โ†’ StepScheduler<T>

For Beginners

This scheduler divides training into discrete phases, with the data fraction jumping at specific epochs rather than changing continuously.

How It Works

Example: With 3 steps over 12 epochs:

Best For:

Constructors

Constructor Summary
StepScheduler(int totalEpochs, IEnumerable<T> stepFractions) Initializes a new instance with custom step fractions.
StepScheduler(int totalEpochs, int numSteps, T minFraction, T maxFraction) Initializes a new instance with uniform steps.

Properties

Property Summary
int TotalPhases { get; } Gets the total number of phases (steps) in this scheduler.
string Name { get; } Gets the name of this scheduler.

Methods

Method Summary
Dictionary<string, object> GetStatistics() Gets scheduler-specific statistics.
T GetDataFraction() Gets the current data fraction based on the current step.