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

Наследование: Accord.Statistics.Kernels.Gaussian, ITransform
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Add ( double a, double b, double result ) : double[]

Elementwise addition of a and b, storing in result.

Clone ( ) : object

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

Compress ( double weights, double supportVectors, double &c ) : double[]

Compress a set of support vectors and weights into a single parameter vector.

Distance ( double x, double y ) : double

Computes the distance d(x,y) between points x and y.

Function ( double x, double y ) : double

Gaussian Kernel function.

Product ( double a, double b, double result ) : void

Elementwise multiplication of scalar a and vector b, storing in result.

ReverseDistance ( double x, double y ) : double

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

TaylorGaussian ( Accord.Statistics.Kernels.Gaussian gaussian, int degree = 1024 ) : System

Constructs a new TaylorGaussian kernel with the given sigma.

TaylorGaussian ( double sigma, int degree = 1024 ) : System

Constructs a new TaylorGaussian kernel with the given sigma.

Transform ( double input ) : double[]

Projects an input point into feature space.

Приватные методы

Метод Описание
createCoefficients ( int degree ) : void

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

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

Elementwise addition of a and b, storing in result.
public Add ( double a, double b, double result ) : double[]
a double The first vector to add.
b double The second vector to add.
result double An array to store the result.
Результат double[]

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

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

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

Compress a set of support vectors and weights into a single parameter vector.
public Compress ( double weights, double supportVectors, double &c ) : double[]
weights double The weights associated with each support vector.
supportVectors double The support vectors.
c double The constant (bias) value.
Результат double[]

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

Computes the distance d(x,y) between points x and y.
public Distance ( double x, double y ) : double
x double The first point x.
y double The second point y.
Результат double

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

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

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

Elementwise multiplication of scalar a and vector b, storing in result.
public Product ( double a, double b, double result ) : void
a double The scalar to be multiplied.
b double The vector to be multiplied.
result double An array to store the result.
Результат void

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

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

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

Constructs a new TaylorGaussian kernel with the given sigma.
public TaylorGaussian ( Accord.Statistics.Kernels.Gaussian gaussian, int degree = 1024 ) : System
gaussian Accord.Statistics.Kernels.Gaussian The original Gaussian kernel to be approximated.
degree int The Gaussian approximation degree. Default is 1024.
Результат System

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

Constructs a new TaylorGaussian kernel with the given sigma.
public TaylorGaussian ( double sigma, int degree = 1024 ) : System
sigma double The kernel's sigma parameter.
degree int The Gaussian approximation degree. Default is 1024.
Результат System

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[]