Click or drag to resize
Accord.NET (logo)

KMeansClusterCollection Constructor

Initializes a new instance of the KMeansClusterCollection class.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.6.0
Syntax
public KMeansClusterCollection(
	int k,
	IDistance<double[]> distance
)
Request Example View Source

Parameters

k
Type: SystemInt32
The number of clusters K.
distance
Type: Accord.Math.DistancesIDistanceDouble
The distance metric to consider.
See Also