Click or drag to resize
Accord.NET (logo)

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
[ObsoleteAttribute("Please use the Decide or Transform methods instead.")]
public double Compute(
	TInput inputs
Request Example View Source


Type: TInput
An input vector.

Return Value

Type: Double
The output for the given input. In a typical classification problem, the sign of this value should be considered as the class label.
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