C# Class numl.Math.Kernels.RBFKernel

The Radial Basis Function (RBF) Kernel is a projection into infinite dimensional space and acts as a pseudo similarity measure in the projected inner product space. It is governed by exp(||x - x'||2 / 2sigm^2)
Inheritance: IKernel
Exibir arquivo Open project: sethjuarez/numl Class Usage Examples

Public Methods

Method Description
Compute ( Matrix m ) : Matrix

Computes RBF Kernel with provided free sigma parameter.

Compute ( Vector v1, Vector v2 ) : double

Computes the radial basis kernel function between the two input vectors.

Project ( Matrix m, Vector x ) : Vector

Projects vector into rbf kernel space.

RBFKernel ( ) : System
RBFKernel ( double sigma ) : System

ctor.

Method Details

Compute() public method

Computes RBF Kernel with provided free sigma parameter.
public Compute ( Matrix m ) : Matrix
m Matrix Input Matrix.
return Matrix

Compute() public method

Computes the radial basis kernel function between the two input vectors.
public Compute ( Vector v1, Vector v2 ) : double
v1 numl.Math.LinearAlgebra.Vector Vector one.
v2 numl.Math.LinearAlgebra.Vector Vector two.
return double

Project() public method

Projects vector into rbf kernel space.
public Project ( Matrix m, Vector x ) : Vector
m Matrix RBF Kernel Matrix.
x numl.Math.LinearAlgebra.Vector Vector in original space.
return numl.Math.LinearAlgebra.Vector

RBFKernel() public method

public RBFKernel ( ) : System
return System

RBFKernel() public method

ctor.
public RBFKernel ( double sigma ) : System
sigma double Input Parameter.
return System