Click or drag to resize
Accord.NET (logo)

KMeans. Compute 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:System.Double[][]
The data where to compute the algorithm.
weights
Type:System.Double[]
The weight associated with each data point.

Return Value

Type:Int32[]

Implements

IClusteringAlgorithm<TData, TWeights>.Compute(TData[],TWeights[])
See Also