TrainingNotification

Models & Types · AiDotNet.TrainingMonitoring.Notifications

Represents a training notification.

Constructors

Constructor Summary
TrainingNotification()

Properties

Property Summary
DateTime CreatedAt { get; set; } Gets or sets when the notification was created.
Dictionary<string, object> Metadata { get; set; } Gets or sets additional metadata.
NotificationSeverity Severity { get; set; } Gets or sets the notification severity.
NotificationType Type { get; set; } Gets or sets the notification type.
string ExperimentName { get; set; } Gets or sets the experiment name.
string Message { get; set; } Gets or sets the notification message.
string RunId { get; set; } Gets or sets the run ID.
string Title { get; set; } Gets or sets the notification title.

Methods

Method Summary
TrainingNotification CheckpointSaved(string experimentName, string checkpointPath, int epoch, string runId) Creates a checkpoint saved notification.
TrainingNotification EarlyStopping(string experimentName, int epoch, int patience, double bestValue, string metricName, string runId) Creates an early stopping notification.
TrainingNotification HyperparameterProgress(string experimentName, int trialNumber, int totalTrials, double bestValue, Dictionary<string, object> bestParams, string runId) Creates a hyperparameter progress notification.
TrainingNotification NewBestModel(string experimentName, int epoch, double metricValue, string metricName, string runId) Creates a new best model notification.
TrainingNotification ResourceWarning(string resourceType, double currentUsage, double threshold, string experimentName, string runId) Creates a resource warning notification.
TrainingNotification TrainingCompleted(string experimentName, int totalEpochs, double finalLoss, double? finalAccuracy, TimeSpan? duration, string runId) Creates a training completed notification.
TrainingNotification TrainingFailed(string experimentName, string errorMessage, int? epochNumber, string runId) Creates a training failed notification.
TrainingNotification TrainingStarted(string experimentName, string runId, Dictionary<string, object> metadata) Creates a training started notification.