| KMeansClustering(DoubleMatrix, Int32) Constructor |
Constructs a KMeansClustering instance from the given data and the
specified maximum number of iterations.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public KMeansClustering(
DoubleMatrix data,
int maxIterations
)
Public Sub New (
data As DoubleMatrix,
maxIterations As Integer
)
public:
KMeansClustering(
DoubleMatrix^ data,
int maxIterations
)
new :
data : DoubleMatrix *
maxIterations : int -> KMeansClustering
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