|
SupportVectorMachineTKernel, TInputCompute Method (TInput)
|
Note: This API is now obsolete.
Computes the given input to produce the corresponding output.
Namespace:
Accord.MachineLearning.VectorMachines
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Please use the Decide or Transform methods instead.")]
public double Compute(
TInput inputs
)
<ObsoleteAttribute("Please use the Decide or Transform methods instead.")>
Public Function Compute (
inputs As TInput
) As Double
Request Example
View SourceParameters
- inputs
- Type: TInput
An input vector.
Return Value
Type:
DoubleThe output for the given input. In a typical classification
problem, the sign of this value should be considered as the class label.
Remarks
For a binary decision problem, the decision for the negative
or positive class is typically computed by taking the sign of
the machine's output.
See Also