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.ClusteringAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public void Evaluate(
IEnumerable<TData> data,
int numberOfClusters
)
Parameters
- data IEnumerableTData
- The data points.
- numberOfClusters Int32
- The number of clusters to create.
Exceptions Exception | Condition |
---|
InvalidOperationException | If 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