Class CurriculumLearningResult<T>
- Namespace
- AiDotNet.CurriculumLearning.Results
- Assembly
- AiDotNet.dll
Result of curriculum learning training.
public class CurriculumLearningResult<T>
Type Parameters
TThe numeric type used for calculations.
- Inheritance
-
CurriculumLearningResult<T>
- Inherited Members
Remarks
For Beginners: This class contains all the information about how curriculum learning training went - the final model performance, how long it took, and detailed information about each curriculum phase.
Key Metrics:
- FinalLoss: The loss value at the end of training
- BestLoss: The lowest loss achieved during training
- PhaseResults: Detailed results for each curriculum phase
- CurriculumEfficiency: How much curriculum learning helped
Properties
AveragePhaseImprovement
Gets or sets the average improvement per phase.
public T? AveragePhaseImprovement { get; set; }
Property Value
- T
BestEpoch
Gets or sets the epoch at which best validation loss was achieved.
public int BestEpoch { get; set; }
Property Value
BestTrainingLoss
Gets or sets the best training loss achieved during training.
public T BestTrainingLoss { get; set; }
Property Value
- T
BestValidationLoss
Gets or sets the best validation loss achieved during training.
public T? BestValidationLoss { get; set; }
Property Value
- T
CurriculumEfficiency
Gets or sets the curriculum efficiency metric.
public T? CurriculumEfficiency { get; set; }
Property Value
- T
Remarks
Measures how effective curriculum learning was compared to standard training. Values > 1 indicate curriculum learning helped.
CurriculumProgression
Gets or sets the curriculum progression history.
public List<CurriculumProgressionEntry<T>> CurriculumProgression { get; set; }
Property Value
EarlyStopEpoch
Gets or sets the epoch at which early stopping was triggered.
public int? EarlyStopEpoch { get; set; }
Property Value
- int?
EarlyStopTriggered
Gets or sets whether early stopping was triggered.
public bool EarlyStopTriggered { get; set; }
Property Value
ErrorMessage
Gets or sets the error message if training failed.
public string? ErrorMessage { get; set; }
Property Value
FinalDifficulties
Gets or sets the final difficulty scores for all samples.
public Vector<T>? FinalDifficulties { get; set; }
Property Value
- Vector<T>
FinalTrainingLoss
Gets or sets the final training loss.
public T FinalTrainingLoss { get; set; }
Property Value
- T
FinalValidationLoss
Gets or sets the final validation loss (if validation data provided).
public T? FinalValidationLoss { get; set; }
Property Value
- T
PhaseResults
Gets or sets the results for each curriculum phase.
public List<CurriculumPhaseResult<T>> PhaseResults { get; set; }
Property Value
PhasesCompleted
Gets or sets the number of curriculum phases completed.
public int PhasesCompleted { get; set; }
Property Value
SchedulerStatistics
Gets or sets the scheduler statistics at the end of training.
public Dictionary<string, object>? SchedulerStatistics { get; set; }
Property Value
Success
Gets or sets whether training was successful.
public bool Success { get; set; }
Property Value
TotalEpochs
Gets or sets the total number of epochs trained.
public int TotalEpochs { get; set; }
Property Value
TotalSamplesUsed
Gets or sets the total number of samples used during training.
public int TotalSamplesUsed { get; set; }
Property Value
TrainingLossHistory
Gets or sets the training history (loss per epoch).
public List<T> TrainingLossHistory { get; set; }
Property Value
- List<T>
TrainingSamples
Gets or sets the total number of training samples.
public int? TrainingSamples { get; set; }
Property Value
- int?
TrainingTimeFormatted
Gets the training time in human-readable format.
public string TrainingTimeFormatted { get; }
Property Value
TrainingTimeMs
Gets or sets the total training time in milliseconds.
public long TrainingTimeMs { get; set; }
Property Value
ValidationLossHistory
Gets or sets the validation loss history.
public List<T>? ValidationLossHistory { get; set; }
Property Value
- List<T>
ValidationSamples
Gets or sets the total number of validation samples (if validation data provided).
public int? ValidationSamples { get; set; }
Property Value
- int?