|
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
)
<ObsoleteAttribute("Please use Learn(x) instead.")>
Public Overridable Function Compute (
data As Double()(),
weights As Double()
) As Integer()
Request Example
View SourceParameters
- 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