Class EpochEventArgs<T>
- Namespace
- AiDotNet.ContinualLearning.Interfaces
- Assembly
- AiDotNet.dll
Event arguments for epoch completion events.
public class EpochEventArgs<T> : EventArgs
Type Parameters
T
- Inheritance
-
EpochEventArgs<T>
- Inherited Members
Constructors
EpochEventArgs(int, int, int, T, T?)
Initializes a new instance of the EpochEventArgs<T> class.
public EpochEventArgs(int taskId, int epoch, int totalEpochs, T loss, T? validationLoss = default)
Parameters
Properties
Epoch
Gets the epoch number (0-indexed).
public int Epoch { get; }
Property Value
Loss
Gets the training loss for this epoch.
public T Loss { get; }
Property Value
- T
TaskId
Gets the task identifier.
public int TaskId { get; }
Property Value
TotalEpochs
Gets the total number of epochs.
public int TotalEpochs { get; }
Property Value
ValidationLoss
Gets the validation loss for this epoch, if available.
public T? ValidationLoss { get; }
Property Value
- T