| KMeansClustering(DataFrame, 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(
DataFrame data,
int maxIterations
)
Public Sub New (
data As DataFrame,
maxIterations As Integer
)
public:
KMeansClustering(
DataFrame^ data,
int maxIterations
)
new :
data : DataFrame *
maxIterations : int -> KMeansClustering
Parameters
- data DataFrame
-
A data frame containing the data. Each row represents an object to be clustered.
Non-numeric columns are ignored.
- 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