Class SSLStepResult<T>
- Namespace
- AiDotNet.SelfSupervisedLearning
- Assembly
- AiDotNet.dll
Result of a single SSL training step.
public class SSLStepResult<T>
Type Parameters
TThe numeric type used for computations.
- Inheritance
-
SSLStepResult<T>
- Inherited Members
Remarks
For Beginners: This contains all the information from one training iteration, including the loss value and any additional metrics specific to the SSL method.
Properties
CurrentLearningRate
Gets or sets the current learning rate (if adaptive).
public double? CurrentLearningRate { get; set; }
Property Value
CurrentTemperature
Gets or sets the current temperature parameter (if applicable).
public double? CurrentTemperature { get; set; }
Property Value
Loss
Gets or sets the primary loss value for this step.
public T Loss { get; set; }
Property Value
- T
Metrics
Gets or sets additional metrics specific to the SSL method.
public Dictionary<string, T> Metrics { get; set; }
Property Value
- Dictionary<string, T>
Remarks
Examples: accuracy of positive pair detection, embedding norm, collapse metrics.
NumNegativePairs
Gets or sets the number of negative pairs in this batch.
public int NumNegativePairs { get; set; }
Property Value
NumPositivePairs
Gets or sets the number of positive pairs in this batch.
public int NumPositivePairs { get; set; }