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

Inheritance: KernelBase, IKernel
Exibir arquivo Open project: accord-net/framework Class Usage Examples

Public Methods

Method 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 method

Polynomial kernel function.
public Function ( double x, double y ) : double
x double Vector x in input space.
y double Vector y in input space.
return double

SparsePolynomial() public method

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

SparsePolynomial() public method

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.
return System