Click or drag to resize
Accord.NET (logo)

KernelBase Class

Base class for kernel functions. This class provides automatic distance calculations for classes that do not provide optimized implementations.
Inheritance Hierarchy
SystemObject
  Accord.Statistics.KernelsKernelBaseDouble
    Accord.Statistics.KernelsKernelBase
      More...

Namespace:  Accord.Statistics.Kernels
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[SerializableAttribute]
public abstract class KernelBase : KernelBase<double[]>, 
	IKernel, IKernel<double[]>, IDistance, IDistance<double[]>, 
	IDistance<double[], double[]>
Request Example View Source

The KernelBase type exposes the following members.

Constructors
  NameDescription
Protected methodKernelBase
Initializes a new instance of the KernelBase class
Top
Methods
  NameDescription
Public methodDistance
Computes the squared distance in feature space between two points given in input space.
(Inherited from KernelBaseTInput.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFunction
The kernel function.
(Inherited from KernelBaseTInput.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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
Inheritance Hierarchy
SystemObject
  Accord.Statistics.KernelsKernelBaseDouble
    Accord.Statistics.KernelsKernelBase
      Accord.Statistics.KernelsAdditive
      Accord.Statistics.KernelsAnova
      Accord.Statistics.KernelsBessel
      Accord.Statistics.KernelsBSpline
      Accord.Statistics.KernelsCauchy
      Accord.Statistics.KernelsChiSquare
      Accord.Statistics.KernelsCircular
      Accord.Statistics.KernelsCustom
      Accord.Statistics.KernelsDirichlet
      Accord.Statistics.KernelsGaussianTDistance
      Accord.Statistics.KernelsHellinger
      Accord.Statistics.KernelsHistogramIntersection
      Accord.Statistics.KernelsHypersecant
      Accord.Statistics.KernelsInverseMultiquadric
      Accord.Statistics.KernelsLaplacian
      Accord.Statistics.KernelsLog
      Accord.Statistics.KernelsMultiquadric
      Accord.Statistics.KernelsNormalizedT
      Accord.Statistics.KernelsNormalizedPolynomial
      Accord.Statistics.KernelsPearson
      Accord.Statistics.KernelsPower
      Accord.Statistics.KernelsQuadratic
      Accord.Statistics.KernelsRationalQuadratic
      Accord.Statistics.KernelsSigmoid
      Accord.Statistics.Kernels.SparseSparseCauchy
      Accord.Statistics.Kernels.SparseSparseGaussian
      Accord.Statistics.Kernels.SparseSparseLaplacian
      Accord.Statistics.Kernels.SparseSparseLinear
      Accord.Statistics.Kernels.SparseSparsePolynomial
      Accord.Statistics.Kernels.SparseSparseSigmoid
      Accord.Statistics.KernelsSpherical
      Accord.Statistics.KernelsSpline
      Accord.Statistics.KernelsSquaredSinc
      Accord.Statistics.KernelsSymmetricTriangle
      Accord.Statistics.KernelsThinSplinePlate
      Accord.Statistics.KernelsTStudent
      Accord.Statistics.KernelsWave