Click or drag to resize

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.Clustering
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public 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

IReadOnlyListDouble
The mean distance in each cluster, i.e. the square root ( of the sum of squared distances divided by N)
See Also