Click or drag to resize
Accord.NET (logo)

BalancedKMeans Constructor (Int32, IDistanceDouble)

Initializes a new instance of the Balanced K-Means algorithm.

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

Parameters

k
Type: SystemInt32
The number of clusters to divide the input data into.
distance
Type: Accord.Math.DistancesIDistanceDouble
The distance function to use. Default is to use the SquareEuclidean(Double, Double) distance.
See Also