C# Класс numl.Math.Kernels.LinearKernel

The Linear Kernel measures similarity between the inner product space. ||xi * xj||
Наследование: IKernel
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Compute() публичный Метод

Computes a linear Kernel in the dimension space.
public Compute ( Matrix m ) : Matrix
m Matrix Input Matrix.
Результат Matrix

Compute() публичный Метод

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.
Результат double

LinearKernel() публичный Метод

ctor.
public LinearKernel ( ) : System
Результат System

Project() публичный Метод

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.
Результат numl.Math.LinearAlgebra.Vector