Click or drag to resize
Accord.NET (logo)

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.6.0
Syntax
[ObsoleteAttribute("Please use Learn(inputs) instead.")]
int[] Compute(
	TData[] points,
	TWeights[] weights
)
Request Example View Source

Parameters

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