Quadratic Discriminant Function.Evaluate Method
Definition
Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.7
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.7
Overload List
Evaluate( | Evaluates the discriminant function at the specified point. |
Evaluate( | Evaluates the discriminant function at the specified point. |
Evaluate(Vector<Double>)
Evaluates the discriminant function at the specified point.
public double Evaluate(
Vector<double> features
)
Parameters
Return Value
DoubleThe value of the discriminant function at x.
Evaluate(Matrix<Double>, Vector<Double>)
Evaluates the discriminant function at the specified point.
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.