Click or drag to resize
Accord.NET (logo)

GaussianEstimate Method (SparseDouble, Int32)

Estimates appropriate values for sigma given a data set.

Namespace:  Accord.Statistics.Kernels
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
public static Gaussian Estimate(
	Sparse<double>[] inputs,
	int samples
Request Example View Source


Type: Accord.MathSparseDouble
The data set.
Type: SystemInt32
The number of random samples to analyze.

Return Value

Type: Gaussian
A Gaussian kernel initialized with an appropriate sigma value.
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