Click or drag to resize
Accord.NET (logo)

LinearCompress Method (Double, SparseDouble, 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 Sparse<double> Compress(
	double[] weights,
	Sparse<double>[] supportVectors,
	out double c
)
Request Example View Source

Parameters

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

Return Value

Type: SparseDouble
A single parameter vector.

Implements

ILinearTCompress(Double, T, Double)
See Also