Click or drag to resize
Accord.NET (logo)

LinearCompress Method (Double, Double, Double)

Compress a set of support vectors and weights into a single parameter vector.

Namespace:  Accord.Statistics.Kernels
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double[] Compress(
	double[] weights,
	double[][] supportVectors,
	out double c
)
Request Example View Source

Parameters

weights
Type: SystemDouble
The weights associated with each support vector.
supportVectors
Type: SystemDouble
The support vectors.
c
Type: SystemDouble
The constant (bias) value.

Return Value

Type: Double
A single parameter vector.

Implements

ILinearTCompress(Double, T, Double)
See Also