|
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
Syntax [ObsoleteAttribute("Please use the Decide, Distance or Probability methods")]
public int Compute(
double[] inputs,
MulticlassComputeMethod method,
out double[] responses
)
<ObsoleteAttribute("Please use the Decide, Distance or Probability methods")>
Public Function Compute (
inputs As Double(),
method As MulticlassComputeMethod,
<OutAttribute> ByRef responses As Double()
) As Integer
Request Example
View SourceParameters
- inputs
- Type: SystemDouble
An input vector. - method
- Type: Accord.MachineLearning.VectorMachinesMulticlassComputeMethod
The
multi-class classification method to use. - responses
- Type: SystemDouble
The model response for each class.
Return Value
Type:
Int32The class decision for the given input.
See Also