Click or drag to resize
Accord.NET (logo)

MulticlassSupportVectorMachineCompute Method (Double, MulticlassComputeMethod, Double)

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, Distance or Probability methods")]
public int Compute(
	double[] inputs,
	MulticlassComputeMethod method,
	out double output
Request Example View Source


Type: SystemDouble
An input vector.
Type: Accord.MachineLearning.VectorMachinesMulticlassComputeMethod
The multi-class classification method to use.
Type: SystemDouble
The output of the machine. If this is a probabilistic machine, the output is the probability of the positive class. If this is a standard machine, the output is the distance to the decision hyperplane in feature space.

Return Value

Type: Int32
The class decision for the given input.
See Also