C# Class Accord.Statistics.Kernels.Sparse.SparseLaplacian

Inheritance: KernelBase, IKernel, IDistance
Show file Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
Distance ( double x, double y ) : double

Computes the distance in input space between two points given in feature space.

Estimate ( double inputs, int samples, DoubleRange &range ) : SparseLaplacian

Estimate appropriate values for sigma given a data set.

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.

Function ( double x, double y ) : double

Laplacian Kernel function.

SparseLaplacian ( ) : System

Constructs a new Laplacian Kernel

SparseLaplacian ( double sigma ) : System

Constructs a new Laplacian Kernel

Method Details

Distance() public method

Computes the distance in input space between two points given in feature space.
public Distance ( double x, double y ) : double
x double Vector x in feature (kernel) space.
y double Vector y in feature (kernel) space.
return double

Estimate() public static method

Estimate appropriate values for sigma given a data set.
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.
public static Estimate ( double inputs, int samples, DoubleRange &range ) : SparseLaplacian
inputs double The data set.
samples int The number of random samples to analyze.
range DoubleRange The range of suitable values for sigma.
return SparseLaplacian

Function() public method

Laplacian Kernel function.
public Function ( double x, double y ) : double
x double Vector x in input space.
y double Vector y in input space.
return double

SparseLaplacian() public method

Constructs a new Laplacian Kernel
public SparseLaplacian ( ) : System
return System

SparseLaplacian() public method

Constructs a new Laplacian Kernel
public SparseLaplacian ( double sigma ) : System
sigma double The sigma slope value.
return System