QuadraticDiscriminantFunction.MahalanobisDistances Property

Gets the Mahalanobis distances of the centroid of this group to all other centroids.

Definition

Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.7
C#
public Vector<double> MahalanobisDistances { get; }

Property Value

Vector<Double>

Remarks

Mahalanobis distances measure the separation between group centroids while accounting for the covariance structure. These distances indicate how well-separated this group is from others.

When interpreting classification results, you can use these distances to understand potential misclassification patterns. Groups that are closer together in Mahalanobis distance are more likely to be confused with each other, which can guide the development of additional discriminating features or hierarchical classification strategies.

See Also