Quadratic Class |
Namespace: Accord.Statistics.Kernels
[SerializableAttribute] public sealed class Quadratic : KernelBase, IKernel, IKernel<double[]>, IDistance, IDistance<double[]>, IDistance<double[], double[]>, IReverseDistance, ICloneable, ITransform, ITransform<double[]>
The Quadratic type exposes the following members.
Name | Description | |
---|---|---|
Quadratic |
Constructs a new Quadratic kernel.
| |
Quadratic(Double) |
Constructs a new Quadratic kernel.
|
Name | Description | |
---|---|---|
Clone |
Creates a new object that is a copy of the current instance.
| |
Distance |
Computes the squared distance in input space
between two points given in feature space.
(Overrides KernelBaseTInputDistance(TInput, TInput).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Function(Double) |
Quadratic kernel function.
| |
Function(Double, Double) |
Quadratic kernel function.
(Overrides KernelBaseTInputFunction(TInput, TInput).) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
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 a string that represents the current object. (Inherited from Object.) | |
Transform(Double) |
Projects an input point into feature space.
| |
Transform(Double) |
Projects a set of input points into feature space.
| |
Transform(Double, 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.) |