|
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
)
Public Function Compress (
weights As Double(),
supportVectors As Sparse(Of Double)(),
<OutAttribute> ByRef c As Double
) As Sparse(Of Double)
Request Example
View SourceParameters
- 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