C# Class numl.Math.Kernels.LinearKernel

The Linear Kernel measures similarity between the inner product space. ||xi * xj||
Inheritance: IKernel
Afficher le fichier Open project: sethjuarez/numl

Méthodes publiques

Méthode Description
Compute ( Matrix m ) : Matrix

Computes a linear Kernel in the dimension space.

Compute ( Vector v1, Vector v2 ) : double

Computes the linear kernel function between the two input vectors.

LinearKernel ( ) : System

ctor.

Project ( Matrix m, Vector x ) : Vector

Projects vector into linear kernel space.

Method Details

Compute() public méthode

Computes a linear Kernel in the dimension space.
public Compute ( Matrix m ) : Matrix
m Matrix Input Matrix.
Résultat Matrix

Compute() public méthode

Computes the linear 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.
Résultat double

LinearKernel() public méthode

ctor.
public LinearKernel ( ) : System
Résultat System

Project() public méthode

Projects vector into linear kernel space.
public Project ( Matrix m, Vector x ) : Vector
m Matrix Kernel Matrix.
x numl.Math.LinearAlgebra.Vector Vector in original space.
Résultat numl.Math.LinearAlgebra.Vector