|
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
)
<ObsoleteAttribute("Please use Learn(x) instead.")>
Public Overridable Function Compute (
data As Double()(),
weights As Double()
) As Integer()
Request Example
View SourceParameters
- data
- Type: SystemDouble
The data where to compute the algorithm. - weights
- Type: SystemDouble
The weight associated with each data point.
Return Value
Type:
Int32Implements
IClusteringAlgorithmTData, TWeightsCompute(TData, TWeights)See Also