Table of Contents

Class CurriculumLearningResult<T>

Namespace
AiDotNet.CurriculumLearning.Results
Assembly
AiDotNet.dll

Result of curriculum learning training.

public class CurriculumLearningResult<T>

Type Parameters

T

The 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

int

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

List<CurriculumProgressionEntry<T>>

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

bool

ErrorMessage

Gets or sets the error message if training failed.

public string? ErrorMessage { get; set; }

Property Value

string

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

List<CurriculumPhaseResult<T>>

PhasesCompleted

Gets or sets the number of curriculum phases completed.

public int PhasesCompleted { get; set; }

Property Value

int

SchedulerStatistics

Gets or sets the scheduler statistics at the end of training.

public Dictionary<string, object>? SchedulerStatistics { get; set; }

Property Value

Dictionary<string, object>

Success

Gets or sets whether training was successful.

public bool Success { get; set; }

Property Value

bool

TotalEpochs

Gets or sets the total number of epochs trained.

public int TotalEpochs { get; set; }

Property Value

int

TotalSamplesUsed

Gets or sets the total number of samples used during training.

public int TotalSamplesUsed { get; set; }

Property Value

int

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

string

TrainingTimeMs

Gets or sets the total training time in milliseconds.

public long TrainingTimeMs { get; set; }

Property Value

long

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?