QuadraticDiscriminantFunction.Evaluate Method

Definition

Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.7

Overload List

Evaluate(Vector<Double>) Evaluates the discriminant function at the specified point.
Evaluate(Matrix<Double>, Vector<Double>) Evaluates the discriminant function at the specified point.

Evaluate(Vector<Double>)

Evaluates the discriminant function at the specified point.
C#
public double Evaluate(
	Vector<double> features
)

Parameters

features  Vector<Double>
The point at which to evaluate the function.

Return Value

Double
The value of the discriminant function at x.

Evaluate(Matrix<Double>, Vector<Double>)

Evaluates the discriminant function at the specified point.
C#
public Vector<double> Evaluate(
	Matrix<double> features,
	Vector<double>? scores = null
)

Parameters

features  Matrix<Double>
The point at which to evaluate the function.
scores  Vector<Double>  (Optional)
Opional. The vector to store the result in.

Return Value

Vector<Double>
A vector containing the value of the discriminant function for each row in features.

See Also