Click or drag to resize

KMeansClustering(DoubleMatrix, Int32) Constructor

Constructs a KMeansClustering instance from the given data and the specified maximum number of iterations.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public KMeansClustering(
	DoubleMatrix data,
	int maxIterations
)

Parameters

data  DoubleMatrix
A matrix of data. Each row in the matrix represents an object to be clustered.
maxIterations  Int32
The maximum number of iterations.
Remarks
Iteration stops when either the clustering stabilizes, or the maximum number of iterations is reached.
See Also