|
SparseGaussianEstimate Method
|
Estimate appropriate values for sigma given a data set.
Namespace:
Accord.Statistics.Kernels.Sparse
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static SparseGaussian Estimate(
double[][] inputs,
int samples,
out DoubleRange range
)
Public Shared Function Estimate (
inputs As Double()(),
samples As Integer,
<OutAttribute> ByRef range As DoubleRange
) As SparseGaussian
Request Example
View SourceParameters
- inputs
- Type: SystemDouble
The data set. - samples
- Type: SystemInt32
The number of random samples to analyze. - range
- Type: AccordDoubleRange
The range of suitable values for sigma.
Return Value
Type:
SparseGaussianA Gaussian kernel initialized with an appropriate sigma value.
Remarks
This method uses a simple heuristic to obtain appropriate values
for sigma in a radial basis function kernel. The heuristic is shown
by Caputo, Sim, Furesjo and Smola, "Appearance-based object
recognition using SVMs: which kernel should I use?", 2002.
See Also