CosineScheduler<T>

Models & Types ยท AiDotNet.CurriculumLearning.Schedulers

Curriculum scheduler with cosine annealing curve.

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

For Beginners

This scheduler follows a cosine curve, providing smooth progression that starts slow, accelerates in the middle, and slows down again near the end. This can help with convergence stability.

How It Works

Progression Pattern:

Constructors

Constructor Summary
CosineScheduler(int totalEpochs, T minFraction, T maxFraction) Initializes a new instance of the CosineScheduler class.

Properties

Property Summary
string Name { get; } Gets the name of this scheduler.

Methods

Method Summary
T GetDataFraction() Gets the current data fraction using cosine annealing.