C# Class numl.Math.Kernels.LogisticKernel

Logistic Kernel for computing the similarity between the inner product space. logit(L * xi * xj)
Inheritance: IKernel
Datei anzeigen Open project: sethjuarez/numl

Public Methods

Method Description
Compute ( Matrix m ) : Matrix

Computes a Logistic Kernel matrix from the given input matrix.

Compute ( Vector v1, Vector v2 ) : double

Computes the logistic kernel function between the two input vectors.

LogisticKernel ( ) : System

Default constructor (Sigmoid logit function).

Project ( Matrix m, Vector x ) : Vector

Projects vector into a logistic kernel space.

Method Details

Compute() public method

Computes a Logistic Kernel matrix from the given input matrix.
public Compute ( Matrix m ) : Matrix
m Matrix Input Matrix.
return Matrix

Compute() public method

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

LogisticKernel() public method

Default constructor (Sigmoid logit function).
public LogisticKernel ( ) : System
return System

Project() public method

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