Click or drag to resize
Accord.NET (logo)

SupportVectorMachineTKernel, TInputToWeights Method

Converts a Linear-kernel machine into an array of linear coefficients. The first position in the array is the Threshold value.

Namespace:  Accord.MachineLearning.VectorMachines
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
public virtual double[] ToWeights()
Request Example View Source

Return Value

Type: Double
An array of linear coefficients representing this machine.
See Also