IMSL C# Numerical Library

ClusterKMeans.Compute Method 

Computes the cluster means.

public double[,] Compute();

Return Value

A double matrix containing computed result.

Exceptions

Exception Type Condition
NoConvergenceException is thrown if convergence did not occur within the maximum number of iterations
ClusterNoPointsException is thrown if the cluster seed yields a cluster with no points

See Also

ClusterKMeans Class | Imsl.Stat Namespace