|
GaussianEstimateTInput, TDistance Method (TInput, TDistance, DoubleRange)
|
Estimate appropriate values for sigma given a data set.
Namespace:
Accord.Statistics.Kernels
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static Gaussian Estimate<TInput, TDistance>(
TInput[] inputs,
TDistance distance,
out DoubleRange range
)
where TDistance : Object, IDistance<TInput>
Public Shared Function Estimate(Of TInput, TDistance As {Object, IDistance(Of TInput)}) (
inputs As TInput(),
distance As TDistance,
<OutAttribute> ByRef range As DoubleRange
) As Gaussian
Request Example
View SourceParameters
- inputs
- Type: TInput
The data set. - distance
- Type: TDistance
The distance function to be used in the Gaussian kernel. Default is SquareEuclidean. - range
- Type: AccordDoubleRange
The range of suitable values for sigma.
Type Parameters
- TInput
- TDistance
Return Value
Type:
GaussianA 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