MetaLearnerOptionsBase<T>

Models & Types · AiDotNet.MetaLearning

Base implementation of IMetaLearnerOptions with industry-standard defaults.

Implements: IMetaLearnerOptions<T>

For Beginners

You can use this class directly or extend it to create algorithm-specific options classes. The defaults work well for most scenarios.

How It Works

This class provides sensible defaults for meta-learning configurations based on established practices from the meta-learning literature (MAML, Reptile, etc.).

Constructors

Constructor Summary
MetaLearnerOptionsBase() Initializes a new instance with default values.

Properties

Property Summary
bool EnableCheckpointing { get; set; }
bool UseFirstOrder { get; set; }
double InnerLearningRate { get; set; }
double OuterLearningRate { get; set; }
double? GradientClipThreshold { get; set; }
int AdaptationSteps { get; set; }
int CheckpointFrequency { get; set; }
int EvaluationFrequency { get; set; }
int EvaluationTasks { get; set; }
int MetaBatchSize { get; set; }
int NumMetaIterations { get; set; }
int? RandomSeed { get; set; }

Methods

Method Summary
IMetaLearnerOptions<T> Clone()
MetaLearnerOptionsBuilder<T> CreateBuilder() Creates a builder for fluent configuration.
bool IsValid()