Polynomial Structure |
Namespace: Accord.Statistics.Kernels
[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>>
The Polynomial type exposes the following members.
Name | Description | |
---|---|---|
Polynomial(Int32) |
Constructs a new Polynomial kernel of a given degree.
| |
Polynomial(Int32, Double) |
Constructs a new Polynomial kernel of a given degree.
|
Name | Description | |
---|---|---|
Constant |
Gets or sets the kernel's polynomial constant term.
| |
Degree |
Gets or sets the kernel's polynomial degree.
|
Name | Description | |
---|---|---|
Clone |
Creates a new object that is a copy of the current instance.
| |
Distance(Double, Double) |
Computes the squared distance in feature space
between two points given in input space.
| |
Distance(SparseDouble, SparseDouble) |
Computes the squared distance in feature space
between two points given in input space.
| |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
Function(Double) |
Polynomial kernel function.
| |
Function(Double, Double) |
Polynomial kernel function.
| |
Function(SparseDouble, SparseDouble) |
Polynomial kernel function.
| |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ReverseDistance |
Computes the distance in input space
between two points given in feature space.
| |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) | |
Transform(Double) |
Projects an input point into feature space.
| |
Transform(Double) |
Projects a set of input points into feature space.
| |
Transform(Double, Int32, Double) |
Projects an input point into feature space.
|
Name | Description | |
---|---|---|
Distance |
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.) | |
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(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.) | |
ToT | 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.) |