C# Class Accord.Statistics.Kernels.Quadratic

Inheritance: Accord.Statistics.Kernels.KernelBase, IKernel, IDistance, IReverseDistance, ICloneable, ITransform
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode Description
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 input space between two points given in feature space.

Function ( double z ) : double

Quadratic kernel function.

Function ( double x, double y ) : double

Quadratic kernel function.

Quadratic ( ) : System

Constructs a new Quadratic kernel.

Quadratic ( double constant ) : System

Constructs a new Quadratic kernel.

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, double constant ) : double[]

Projects an input point into feature space.

Method Details

Clone() public méthode

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
Résultat object

Distance() public méthode

Computes the squared distance in input space between two points given in feature space.
public Distance ( double x, double y ) : double
x double Vector x in feature (kernel) space.
y double Vector y in feature (kernel) space.
Résultat double

Function() public méthode

Quadratic kernel function.
public Function ( double z ) : double
z double Distance z in input space.
Résultat double

Function() public méthode

Quadratic kernel function.
public Function ( double x, double y ) : double
x double Vector x in input space.
y double Vector y in input space.
Résultat double

Quadratic() public méthode

Constructs a new Quadratic kernel.
public Quadratic ( ) : System
Résultat System

Quadratic() public méthode

Constructs a new Quadratic kernel.
public Quadratic ( double constant ) : System
constant double The polynomial constant for this kernel. Default is 1.
Résultat System

ReverseDistance() public méthode

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

Transform() public méthode

Projects an input point into feature space.
public Transform ( double input ) : double[]
input double The input point to be projected into feature space.
Résultat double[]

Transform() public static méthode

Projects an input point into feature space.
public static Transform ( double input, double constant ) : double[]
input double The input point to be projected into feature space.
constant double The parameter of the kernel.
Résultat double[]