Linear Discriminant Function.Evaluate Method
            
            Definition
Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
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.
Remarks
            This method calculates the value of the linear discriminant function for a given feature vector.
            The discriminant function is a linear combination of the input features and the coefficients
            of the discriminant function, plus an intercept term. The result is a single scalar value
            that can be used to classify the input features into one of the predefined groups.
            
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)
 - Optional. 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.
Remarks
            This method calculates the value of the linear discriminant function for each row in a matrix of feature vectors.
            The discriminant function is a linear combination of the input features and the coefficients
            of the discriminant function, plus an intercept term. The result is a vector of scalar values
            that can be used to classify each row of input features into one of the predefined groups.