|
KNearestNeighborsTInputCompute Method (TInput)
|
Note: This API is now obsolete.
Computes the most likely label of a new given point.
Namespace:
Accord.MachineLearning
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Please use the Decide(input) method instead.")]
public int Compute(
TInput input
)
<ObsoleteAttribute("Please use the Decide(input) method instead.")>
Public Function Compute (
input As TInput
) As Integer
Request Example
View SourceParameters
- input
- Type: TInput
A point to be classified.
Return Value
Type:
Int32The most likely label for the given point.
See Also