Constructs a KMeansClustering instance from the given data.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public KMeansClustering( DoubleMatrix data ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ data As DoubleMatrix _ ) |
| Visual C++ |
|---|
public: KMeansClustering( DoubleMatrix^ data ) |
Parameters
- data
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
A matrix of data. Each row in the matrix represents an object to be clustered.
Remarks
The default maximum number of iterations is used. Iteration stops when either the
clustering stabilizes, or the maximum number of iterations is reached.