C# Class Accord.Statistics.Kernels.Sparse.SparsePolynomial

Inheritance: KernelBase, IKernel
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode Description
Function ( double x, double y ) : double

Polynomial kernel function.

SparsePolynomial ( int degree ) : System

Constructs a new Polynomial kernel of a given degree.

SparsePolynomial ( int degree, double constant ) : System

Constructs a new Sparse Polynomial kernel of a given degree.

Method Details

Function() public méthode

Polynomial 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

SparsePolynomial() public méthode

Constructs a new Polynomial kernel of a given degree.
public SparsePolynomial ( int degree ) : System
degree int The polynomial degree for this kernel.
Résultat System

SparsePolynomial() public méthode

Constructs a new Sparse Polynomial kernel of a given degree.
public SparsePolynomial ( int degree, double constant ) : System
degree int The polynomial degree for this kernel.
constant double The polynomial constant for this kernel. Default is 1.
Résultat System