C# Класс Accord.Statistics.Kernels.Polynomial

Polynomial Kernel
Наследование: IKernel
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Clone ( ) : object

Creates a new object that is a copy of the current instance.

Distance ( double x, double y ) : double

Computes the squared distance in feature space between two points given in input space.

Function ( double z ) : double

Polynomial kernel function.

Function ( double x, double y ) : double

Polynomial kernel function.

Polynomial ( int degree ) : System

Constructs a new Polynomial kernel of a given degree.

Polynomial ( int degree, double constant ) : System

Constructs a new Polynomial kernel of a given degree.

ReverseDistance ( double x, double y ) : double

Computes the distance in input space between two points given in feature space.

Transform ( double input ) : double[]

Projects an input point into feature space.

Transform ( double input, int degree, double constant ) : double[]

Projects an input point into feature space.

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

Clone() публичный метод

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
Результат object

Distance() публичный метод

Computes the squared distance in feature space between two points given in input space.
public Distance ( double x, double y ) : double
x double Vector x in input space.
y double Vector y in input space.
Результат double

Function() публичный метод

Polynomial kernel function.
public Function ( double z ) : double
z double Distance z in input space.
Результат double

Function() публичный метод

Polynomial kernel function.
public Function ( double x, double y ) : double
x double Vector x in input space.
y double Vector y in input space.
Результат double

Polynomial() публичный метод

Constructs a new Polynomial kernel of a given degree.
public Polynomial ( int degree ) : System
degree int The polynomial degree for this kernel.
Результат System

Polynomial() публичный метод

Constructs a new Polynomial kernel of a given degree.
public Polynomial ( int degree, double constant ) : System
degree int The polynomial degree for this kernel.
constant double The polynomial constant for this kernel. Default is 1.
Результат System

ReverseDistance() публичный метод

Computes the distance in input space between two points given in feature space.
public ReverseDistance ( double x, double y ) : double
x double Vector x in feature (kernel) space.
y double Vector y in feature (kernel) space.
Результат double

Transform() публичный метод

Projects an input point into feature space.
public Transform ( double input ) : double[]
input double The input point to be projected into feature space.
Результат double[]

Transform() публичный статический метод

Projects an input point into feature space.
public static Transform ( double input, int degree, double constant ) : double[]
input double The input point to be projected into feature space.
degree int The parameter of the kernel.
constant double The parameter of the kernel.
Результат double[]