TrainingResult<T>
Models & Types · AiDotNet.Training
Contains the results of a training run, including the trained model, loss history, and metadata.
For Beginners
After training completes, this object tells you everything about how it went: the trained model ready for predictions, the loss values at each epoch (so you can see if training improved over time), how long it took, and whether it completed successfully.
Constructors
| Constructor | Summary |
|---|---|
TrainingResult() |
Properties
| Property | Summary |
|---|---|
IFullModel<T, Matrix<T>, Vector<T>> TrainedModel { get; set; } |
Gets or sets the trained model ready for making predictions. |
List<T> EpochLosses { get; set; } |
Gets or sets the loss value recorded at the end of each epoch. |
TimeSpan TrainingDuration { get; set; } |
Gets or sets the total wall-clock time spent training. |
bool Completed { get; set; } |
Gets or sets whether the training run completed without error. |
int TotalEpochs { get; set; } |
Gets or sets the total number of epochs that were executed. |