|
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 get the error value through this class' Error property.")]
public int[] Compute(
double[][] data,
out double error
)
<ObsoleteAttribute("Please get the error value through this class' Error property.")>
Public Function Compute (
data As Double()(),
<OutAttribute> ByRef error As Double
) As Integer()
Request Example
View SourceParameters
- 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:
Int32See Also