|
IClusteringAlgorithmTData, TWeightsCompute Method (TData, TWeights)
|
Note: This API is now obsolete.
Divides the input data into a number of clusters.
Namespace:
Accord.MachineLearning
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Please use Learn(inputs) instead.")]
int[] Compute(
TData[] points,
TWeights[] weights
)
<ObsoleteAttribute("Please use Learn(inputs) instead.")>
Function Compute (
points As TData(),
weights As TWeights()
) As Integer()
Request Example
View SourceParameters
- points
- Type: TData
The data where to compute the algorithm. - weights
- Type: TWeights
The weight associated with each data point.
Return Value
Type:
Int32
The labellings for the input data.
See Also