TrainingRecipeConfig
Options & Configuration · AiDotNet.Training.Configuration
Root configuration object for a complete training recipe defined in YAML.
For Beginners
A training recipe brings together all the pieces needed to train a model:
the model architecture, the dataset, the optimizer, the loss function, and training settings.
You can define all of this in a single YAML file and load it with YamlConfigLoader.
How It Works
Example YAML:
Constructors
| Constructor | Summary |
|---|---|
TrainingRecipeConfig() |
Properties
| Property | Summary |
|---|---|
DatasetConfig Dataset { get; set; } |
Gets or sets the dataset configuration section. |
LossFunctionConfig LossFunction { get; set; } |
Gets or sets the loss function configuration section. |
ModelConfig Model { get; set; } |
Gets or sets the model configuration section. |
OptimizerConfig Optimizer { get; set; } |
Gets or sets the optimizer configuration section. |
TrainerSettings Trainer { get; set; } |
Gets or sets the trainer settings section. |