Click or drag to resize

KMeansTData, TDataSumTryEvaluate 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.3448.0 (4.8.3448.0)
Syntax
C#
public bool TryEvaluate(
	IEnumerable<TData> data,
	int numberOfClusters
)

Parameters

data  IEnumerableTData
The data points.
numberOfClusters  Int32
The number of clusters to create.

Return Value

Boolean
True if successful; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf data is null.
ArgumentOutOfRangeExceptionIf numberOfClusters is less than 2 or greater than the number of data points.
See Also