Click or drag to resize
Accord.NET (logo)

KMeansCompute Method (Double, Double)

Note: This API is now obsolete.

Divides the input data into K clusters.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use Learn(x) instead.")]
public virtual int[] Compute(
	double[][] data,
	double[] weights
)
Request Example View Source

Parameters

data
Type: SystemDouble
The data where to compute the algorithm.
weights
Type: SystemDouble
The weight associated with each data point.

Return Value

Type: Int32

Implements

IClusteringAlgorithmTData, TWeightsCompute(TData, TWeights)
See Also