Class SSLTrainingHistory<T>
- Namespace
- AiDotNet.SelfSupervisedLearning
- Assembly
- AiDotNet.dll
Training history from SSL pretraining.
public class SSLTrainingHistory<T>
Type Parameters
TThe numeric type used for computations.
- Inheritance
-
SSLTrainingHistory<T>
- Inherited Members
Properties
CustomMetrics
Custom metrics per epoch.
public Dictionary<string, List<T>> CustomMetrics { get; set; }
Property Value
- Dictionary<string, List<T>>
KNNHistory
k-NN accuracy per epoch (if computed).
public List<double> KNNHistory { get; set; }
Property Value
LearningRateHistory
Learning rate per epoch.
public List<double> LearningRateHistory { get; set; }
Property Value
LossHistory
Loss values per epoch.
public List<T> LossHistory { get; set; }
Property Value
- List<T>
MomentumHistory
Momentum value per epoch (for methods with momentum encoder).
public List<double> MomentumHistory { get; set; }
Property Value
StdHistory
Representation standard deviation per epoch (for collapse detection).
public List<T> StdHistory { get; set; }
Property Value
- List<T>
Methods
AddCustomMetric(string, T)
Adds a custom metric value.
public void AddCustomMetric(string name, T value)
Parameters
namestringvalueT
AddEpochMetrics(T, T, double, double, double)
Adds metrics from a training step.
public void AddEpochMetrics(T loss, T std, double knnAcc, double lr, double momentum)