EWCTrainerOptions<T>

Options & Configuration · AiDotNet.ContinualLearning.Trainers

Configuration options for the EWC trainer.

For Beginners

These options control how the EWC trainer operates. EWC protects important parameters by adding a regularization penalty when they change.

Constructors

Constructor Summary
EWCTrainerOptions()

Properties

Property Summary
bool? ComputeValidationMetrics { get; set; } Whether to compute validation metrics after each epoch.
bool? OnlineEWC { get; set; } Whether to accumulate Fisher Information across tasks (online EWC).
bool? UseExperienceReplay { get; set; } Whether to use experience replay alongside EWC regularization.
double? GradientClipThreshold { get; set; } Gradient clipping threshold.
double? RegularizationWeight { get; set; } Weight for the regularization loss relative to task loss.
double? ReplayLearningRateFactor { get; set; } Fraction of learning rate to use for replay samples.