Click or drag to resize
Accord.NET (logo)

SparseCauchy Class

Note: This API is now obsolete.

Sparse Cauchy Kernel.
Inheritance Hierarchy
SystemObject
  Accord.Statistics.KernelsKernelBaseDouble
    Accord.Statistics.KernelsKernelBase
      Accord.Statistics.Kernels.SparseSparseCauchy

Namespace:  Accord.Statistics.Kernels.Sparse
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[SerializableAttribute]
[ObsoleteAttribute("Please use the Cauchy kernel with Sparse<double> instead.")]
public sealed class SparseCauchy : KernelBase, 
	IKernel, IKernel<double[]>
Request Example View Source

The SparseCauchy type exposes the following members.

Constructors
  NameDescription
Public methodSparseCauchy
Constructs a new Sparse Cauchy Kernel.
Top
Properties
  NameDescription
Public propertySigma
Gets or sets the kernel's sigma value.
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.)
Public methodFunction
Cauchy 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
The Cauchy kernel comes from the Cauchy distribution (Basak, 2008). It is a long-tailed kernel and can be used to give long-range influence and sensitivity over the high dimension space.
See Also