IMSL C# Numerical Library

ClusterKMeans Constructor 

Constructor for ClusterKMeans.

public ClusterKMeans(
   double[,] x,
   double[,] cs
);

Parameters

x
A double matrix containing the observations to be clustered.
cs
A double matrix containing the cluster seeds, i.e. estimates for the cluster centers.

Exceptions

Exception Type Condition
ArgumentException is thrown if x.GetLength(0), x.GetLength(1) are equal 0, or cs.GetLength(0) is less than 1

See Also

ClusterKMeans Class | Imsl.Stat Namespace