KMeansTData, TDataSumEvaluateMeanNthMomentOfDistances Method |
Evaluates for each cluster the mean distance, i.e. the square root ( of the sum of squared distances divided by N)
Namespace: Altaxo.Calc.ClusteringAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic IReadOnlyList<double> EvaluateMeanNthMomentOfDistances(
int q
)
Parameters
- q Int32
- Order of the moment to calculate the average distance of the cluster points to their centroid. A value of 1 returns the average distance; 2 returns the square root of the mean squared distances; higher values compute the corresponding moment.
Return Value
IReadOnlyListDoubleThe mean distance in each cluster, i.e. the square root ( of the sum of squared distances divided by N)
See Also