C# Class numl.Math.Kernels.PolyKernel

Polynomial kernel of arbitrary dimension.
Inheritance: IKernel
ファイルを表示 Open project: sethjuarez/numl

Public Methods

Method Description
Compute ( Matrix m ) : Matrix

Computes polynomial kernel of the specified degree (in Dimension)

Compute ( Vector v1, Vector v2 ) : double

Computes the polynomial kernel function between the two input vectors.

PolyKernel ( ) : System
PolyKernel ( double dimension ) : System

ctor.

Project ( Matrix m, Vector x ) : Vector

Projects vector into polynomial kernel space.

Method Details

Compute() public method

Computes polynomial kernel of the specified degree (in Dimension)
public Compute ( Matrix m ) : Matrix
m Matrix Input Matrix.
return Matrix

Compute() public method

Computes the polynomial 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

PolyKernel() public method

public PolyKernel ( ) : System
return System

PolyKernel() public method

ctor.
public PolyKernel ( double dimension ) : System
dimension double Polynomial Kernel Dimension.
return System

Project() public method

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