|
MulticlassSupportVectorMachineCompute Method (Double, Double, TupleInt32, Int32)
|
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, Distance or Probability methods")]
public int Compute(
double[] inputs,
out double output,
out Tuple<int, int>[] decisionPath
)
<ObsoleteAttribute("Please use the Decide, Distance or Probability methods")>
Public Function Compute (
inputs As Double(),
<OutAttribute> ByRef output As Double,
<OutAttribute> ByRef decisionPath As Tuple(Of Integer, Integer)()
) As Integer
Request Example
View SourceParameters
- inputs
- Type: SystemDouble
An input vector. - output
- 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. - decisionPath
- Type: SystemTupleInt32, Int32
The decision path followed by the Decision
Directed Acyclic Graph used by the
elimination method.
Return Value
Type:
Int32The decision label for the given input.
See Also