KMeansTData, TDataSumInternalEvaluateMeanNthMomentOfDistances Method |
Evaluates for each cluster the 2nd moment of the distances, i.e. the square root of the average of the squared Euclidean distances (or whatever the distance function is) of the points to their respective centroid.
Namespace: Altaxo.Calc.ClusteringAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxprotected IReadOnlyList<double> InternalEvaluateMeanNthMomentOfDistances(
int q
)
Parameters
- q Int32
- Order of the moment used to calculate the average distance of the cluster points to their centroid. A value of 1 returns the mean distance; 2 returns the second moment (root mean square), etc.
Return Value
IReadOnlyListDoubleThe 2nd moment of the distances in each cluster, i.e. the square root of the average of the squared Euclidean distances (or whatever the distance function is) of the points to their respective centroid
See Also