Click or drag to resize

KMeansTData, TDataSumEvaluate Method

Clusters the provided data. Please note that the data are not normalized. Thus, for multidimensional data, please normalize the data before!

Namespace: Altaxo.Calc.Clustering
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void Evaluate(
	IEnumerable<TData> data,
	int numberOfClusters
)

Parameters

data  IEnumerableTData
The data points.
numberOfClusters  Int32
The number of clusters to create.
Exceptions
ExceptionCondition
InvalidOperationExceptionIf either the maximum number of iterations has reached without convergence, or empty clusters were created during evaluation, which could not be filled up.
See Also