Click or drag to resize
ClusterKMeans Constructor
Constructor for ClusterKMeans.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public ClusterKMeans(
	double[,] x,
	double[,] cs
)

Parameters

x
Type: SystemDouble
A double matrix containing the observations to be clustered.
cs
Type: SystemDouble
A double matrix containing the cluster seeds, i.e. estimates for the cluster centers.
Exceptions
ExceptionCondition
ArgumentException is thrown if x.GetLength(0), x.GetLength(1) are equal 0, or cs.GetLength(0) is less than 1
See Also