Interface IGradientModel<T>
- Namespace
- AiDotNet.Interfaces
- Assembly
- AiDotNet.dll
Represents a gradient for optimization algorithms.
public interface IGradientModel<T>
Type Parameters
TThe numeric type used for calculations (e.g., double, float).
Properties
Parameters
Gets the gradient vector.
Vector<T> Parameters { get; }
Property Value
- Vector<T>
Methods
Evaluate(Vector<T>)
Evaluates the gradient at a specific point.
T Evaluate(Vector<T> input)
Parameters
inputVector<T>The input vector.
Returns
- T
The gradient value at the specified point.