Click or drag to resize
Accord.NET (logo)

ILinearTCompress Method

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
T Compress(
	double[] weights,
	T[] supportVectors,
	out double c
)
Request Example View Source

Parameters

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

Return Value

Type: T
A single parameter vector.
See Also