AutoCheckpointState
Models & Types · AiDotNet.CheckpointManagement
Represents the current state of auto-checkpointing.
Constructors
| Constructor |
Summary |
AutoCheckpointState(bool isEnabled, int saveFrequency, bool saveOnImprovement, int keepLast, string metricName, int lastSaveStep, double? bestMetricValue) |
Initializes a new AutoCheckpointState. |
Properties
| Property |
Summary |
bool IsEnabled { get; } |
Whether auto-checkpointing is enabled. |
bool SaveOnImprovement { get; } |
Whether saving on improvement is enabled. |
double? BestMetricValue { get; } |
Best metric value seen so far. |
int KeepLast { get; } |
Number of recent checkpoints to keep. |
int LastSaveStep { get; } |
Last step at which a checkpoint was saved. |
int SaveFrequency { get; } |
Save frequency in steps. |
string MetricName { get; } |
Metric name for improvement tracking. |
Methods
| Method |
Summary |
string ToString() |
|