|
KMeansClusterCollection Constructor
|
Namespace:
Accord.MachineLearning
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax public KMeansClusterCollection(
int k,
IDistance<double[]> distance
)
Public Sub New (
k As Integer,
distance As IDistance(Of Double())
)
Request Example
View SourceParameters
- k
- Type: SystemInt32
The number of clusters K. - distance
- Type: Accord.Math.DistancesIDistanceDouble
The distance metric to consider.
See Also