MASOptions<T>

Options & Configuration · AiDotNet.ContinualLearning.Strategies

Configuration options for Memory Aware Synapses.

Constructors

Constructor Summary
MASOptions()

Properties

Property Summary
ImportanceAccumulationMode? AccumulationMode { get; set; } Gets or sets the importance accumulation mode across tasks.
MASImportanceMode? ImportanceMode { get; set; } Gets or sets the importance computation mode.
T Lambda { get; set; } Gets or sets the regularization strength (lambda).
bool? NormalizeImportance { get; set; } Gets or sets whether to divide each task’s importance by its maximum (false: the paper accumulates the raw Ω of Aljundi et al.
bool? UseBatching { get; set; } Gets or sets whether to use mini-batching for importance computation.
bool? UseL1Norm { get; set; } Gets or sets whether to use L1 norm instead of L2 for output sensitivity.
double? DecayFactor { get; set; } Gets or sets the decay factor for weighted accumulation.
double? MinImportanceValue { get; set; } Gets or sets the minimum importance value to prevent underflow.
int? BatchSize { get; set; } Gets or sets the batch size for importance computation.
int? NumSamples { get; set; } Gets or sets the number of samples to use for importance estimation.