EpochEventArgs<T>
Models & Types ยท AiDotNet.ContinualLearning.Interfaces
Event arguments for epoch completion events.
Inheritance: EventArgs โ EpochEventArgs<T>
Constructors
| Constructor | Summary |
|---|---|
EpochEventArgs(int taskId, int epoch, int totalEpochs, T loss, T validationLoss) |
Initializes a new instance of the EpochEventArgs class. |
Properties
| Property | Summary |
|---|---|
T Loss { get; } |
Gets the training loss for this epoch. |
T ValidationLoss { get; } |
Gets the validation loss for this epoch, if available. |
int Epoch { get; } |
Gets the epoch number (0-indexed). |
int TaskId { get; } |
Gets the task identifier. |
int TotalEpochs { get; } |
Gets the total number of epochs. |