ITrainer<T>
Interfaces · AiDotNet.Interfaces
Interface for training machine learning models from configuration-driven recipes.
Known implementations: TrainerBase<T>
For Beginners
A trainer takes a training recipe (configuration) and runs the full training process: loading data, creating the model, running epochs, and returning results. This is the “run my experiment” interface.
Properties
| Property | Summary |
|---|---|
TrainingRecipeConfig Config { get; } |
Gets the training recipe configuration used by this trainer. |
Methods
| Method | Summary |
|---|---|
Task<TrainingResult<T>> RunAsync() |
Runs the full training loop asynchronously and returns the result. |
TrainingResult<T> Run() |
Runs the full training loop and returns the result. |