|
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
)
Public Function Compress (
weights As Double(),
supportVectors As Double()(),
<OutAttribute> ByRef c As Double
) As Double()
Request Example
View SourceParameters
- 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:
DoubleA single parameter vector.
Implements
ILinearTCompress(Double, T, Double)See Also