Click or drag to resize
Accord.NET (logo)

Hypersecant Class

Hyperbolic Secant Kernel.
Inheritance Hierarchy
SystemObject
  Accord.Statistics.KernelsKernelBaseDouble
    Accord.Statistics.KernelsKernelBase
      Accord.Statistics.KernelsHypersecant

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

The Hypersecant type exposes the following members.

Constructors
  NameDescription
Public methodHypersecant
Constructs a new Hyperbolic Secant Kernel
Top
Properties
  NameDescription
Public propertyGamma
Gets or sets the gamma value for the kernel.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
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.)
Public methodFunction(Double)
Hyperbolic Secant Kernel function.
Public methodFunction(Double, Double)
Hyperbolic Secant Kernel function.
(Overrides KernelBaseTInputFunction(TInput, TInput).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(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
Remarks

References:

  • Chaudhuri et al, A Comparative Study of Kernels for the Multi-class Support Vector Machine, 2008. Available on: http://www.computer.org/portal/web/csdl/doi/10.1109/ICNC.2008.803

See Also