QuadraticDiscriminantAnalysis.MahalanobisDistances Property

Gets the Mahalanobis distances.

Definition

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

Property Value

Matrix<Double>

Remarks

The Mahalanobis distances matrix contains pairwise distances between class centroids, taking into account the covariance structure of the classes. For each pair of classes (i,j), the matrix contains two distances: one computed using class i's covariance matrix and another using class j's covariance matrix.

These distances provide a measure of class separation that accounts for the scale and correlation of the features. Larger distances indicate better separation between classes, while smaller distances suggest potential classification difficulties between those classes.

See Also