IGradientModel<T, TInput, TOutput>
Interfaces · AiDotNet.ActiveLearning.Strategies.Hybrid
Interface for models that can compute gradient embeddings.
Implements: IFullModel<T, TInput, TOutput>
Methods
| Method | Summary |
|---|---|
Vector<T> ComputeGradient(TInput input, TOutput target) |
Computes the gradient of the loss with respect to model parameters. |
Vector<T> ComputeGradientEmbedding(TInput input, int predictedClass) |
Computes the gradient embedding for a sample. |