C# Class Accord.Statistics.Kernels.NormalizedPolynomial

Inheritance: Accord.Statistics.Kernels.KernelBase, IKernel, IDistance, ICloneable
Show file Open project: accord-net/framework

Public Methods

Method Description
Clone ( ) : object

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

Function ( double x, double y ) : double

Normalized polynomial kernel function.

NormalizedPolynomial ( int degree ) : System

Constructs a new Normalized Polynomial kernel of a given degree.

NormalizedPolynomial ( int degree, double constant ) : System

Constructs a new Normalized Polynomial kernel of a given degree.

Method Details

Clone() public method

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

Function() public method

Normalized 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

NormalizedPolynomial() public method

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

NormalizedPolynomial() public method

Constructs a new Normalized Polynomial kernel of a given degree.
public NormalizedPolynomial ( 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