Click or drag to resize
Accord.NET (logo)

Polynomial Structure

Polynomial Kernel.

Namespace:  Accord.Statistics.Kernels
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[SerializableAttribute]
public struct Polynomial : IKernel, 
	IKernel<double[]>, IDistance, IDistance<double[]>, 
	IDistance<double[], double[]>, IReverseDistance, ICloneable, 
	ITransform, ITransform<double[]>, IKernel<Sparse<double>>, 
	IDistance<Sparse<double>>, IDistance<Sparse<double>, Sparse<double>>
Request Example View Source

The Polynomial type exposes the following members.

Constructors
  NameDescription
Public methodPolynomial(Int32)
Constructs a new Polynomial kernel of a given degree.
Public methodPolynomial(Int32, Double)
Constructs a new Polynomial kernel of a given degree.
Top
Properties
  NameDescription
Public propertyConstant
Gets or sets the kernel's polynomial constant term.
Public propertyDegree
Gets or sets the kernel's polynomial degree.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodDistance(Double, Double)
Computes the squared distance in feature space between two points given in input space.
Public methodDistance(SparseDouble, SparseDouble)
Computes the squared distance in feature space between two points given in input space.
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodFunction(Double)
Polynomial kernel function.
Public methodFunction(Double, Double)
Polynomial kernel function.
Public methodFunction(SparseDouble, SparseDouble)
Polynomial kernel function.
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodReverseDistance
Computes the distance in input space between two points given in feature space.
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Public methodTransform(Double)
Projects an input point into feature space.
Public methodTransform(Double)
Projects a set of input points into feature space.
Public methodStatic memberTransform(Double, Int32, Double)
Projects an input point into feature space.
Top
Extension Methods
  NameDescription
Public Extension MethodDistance
Computes the kernel distance for a kernel function even if it doesn't implement the IDistance interface. Can be used to check the proper implementation of the distance function.
(Defined by Tools.)
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also