Table of Contents

Interface IGradientModel<T>

Namespace
AiDotNet.Interfaces
Assembly
AiDotNet.dll

Represents a gradient for optimization algorithms.

public interface IGradientModel<T>

Type Parameters

T

The 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

input Vector<T>

The input vector.

Returns

T

The gradient value at the specified point.