KMeansClusterAnalysis.GetClusterDistances Method

Gets a matrix that contains the distances between the clusters.

Definition

Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.2.0
C#
public SymmetricMatrix<double> GetClusterDistances()

Return Value

SymmetricMatrix<Double>
A symmetric matrix containing the distances between the clusters.

Remarks

If Standardize is true, the returned values are the distances between the scaled cluster centers.

This property is only available when the model is fitted. It throws an InvalidOperationException if the model is empty or deployed.

See Also