ITrainableModel<T, TInput, TOutput>
Interfaces · AiDotNet.ActiveLearning.Interfaces
Interface for models that support training on datasets.
For Beginners
A trainable model is one that can learn from data. The training process adjusts the model’s internal parameters to improve its predictions based on the provided examples.
How It Works
Common Uses:
Properties
| Property | Summary |
|---|---|
bool IsTrained { get; } |
Gets whether the model has been trained. |
Methods
| Method | Summary |
|---|---|
void Reset() |
Resets the model to its initial untrained state. |
void Train(IDataset<T, TInput, TOutput> dataset) |
Trains the model on the provided dataset. |
void Train(IDataset<T, TInput, TOutput> dataset, int epochs) |
Trains the model for a specified number of epochs. |