CurriculumLearningOptions<T, TInput, TOutput>

Options & Configuration · AiDotNet.Configuration

Configuration options for Curriculum Learning through the AiDotNet facade.

For Beginners

Curriculum Learning trains models by presenting samples in order of difficulty, starting with easy examples and gradually introducing harder ones. This often leads to faster convergence and better final performance compared to random training order.

How It Works

This options class is designed for use with AiModelBuilder. It follows the AiDotNet facade pattern: users provide minimal configuration, and the library supplies industry-standard defaults internally.

Key Concepts:

Constructors

Constructor Summary
CurriculumLearningOptions()

Properties

Property Summary
CompetenceBasedOptions CompetenceBased { get; set; } Gets or sets competence-based learning options.
CurriculumEarlyStoppingOptions EarlyStopping { get; set; } Gets or sets early stopping options for curriculum learning.
CurriculumScheduleType ScheduleType { get; set; } Gets or sets the curriculum schedule type that controls progression from easy to hard samples.
CurriculumVerbosity Verbosity { get; set; } Gets or sets the verbosity level for logging.
DifficultyEstimatorType? DifficultyEstimator { get; set; } Gets or sets the difficulty estimator type that determines sample difficulty.
ICurriculumScheduler<T> CustomScheduler { get; set; } Gets or sets a custom curriculum scheduler.
IDataset<T, TInput, TOutput> Dataset { get; set; } Gets or sets the dataset on which to run the curriculum-learning training pass.
IDifficultyEstimator<T, TInput, TOutput> CustomDifficultyEstimator { get; set; } Gets or sets a pre-built difficulty estimator.
SelfPacedOptions SelfPaced { get; set; } Gets or sets self-paced learning options.
bool? NormalizeDifficulties { get; set; } Gets or sets whether to normalize difficulty scores to [0, 1].
bool? RecalculateDifficulties { get; set; } Gets or sets whether to recalculate sample difficulties during training.
bool? ShuffleWithinPhase { get; set; } Gets or sets whether to shuffle samples within each curriculum phase.
bool? UseDifficultyWeighting { get; set; } Gets or sets whether to weight sample contributions by difficulty.
double? FinalDataFraction { get; set; } Gets or sets the final fraction of data to use (typically 1.0 for all samples).
double? InitialDataFraction { get; set; } Gets or sets the initial fraction of data to use (easiest samples).
int? BatchSize { get; set; } Gets or sets the batch size for training.
int? DifficultyRecalculationFrequency { get; set; } Gets or sets how often to recalculate difficulties (in epochs).
int? NumPhases { get; set; } Gets or sets the number of curriculum phases.
int? RandomSeed { get; set; } Gets or sets a random seed for reproducibility.
int? TotalEpochs { get; set; } Gets or sets the total number of training epochs.