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.5.0
Syntax
[ObsoleteAttribute("Please get the error value through this class' Error property.")]
public int[] Compute(
	double[][] data,
	out double error
)
Request Example View Source

Parameters

data
Type: SystemDouble
The data where to compute the algorithm.
error
Type: SystemDouble
The average square distance from the data points to the clusters' centroids.

Return Value

Type: Int32
See Also