Click or drag to resize
Accord.NET (logo)

GaussianTDistance, TInput Structure

Composite Gaussian Kernel.

Namespace:  Accord.Statistics.Kernels
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[SerializableAttribute]
public struct Gaussian<TDistance, TInput> : IKernel<TInput>, 
	IDistance<TInput>, IDistance<TInput, TInput>, IEstimable<TInput>, 
	ICloneable
where TDistance : Object, IDistance<TInput>, ICloneable
where TInput : class
Request Example View Source

Type Parameters

TDistance
TInput

The GaussianTDistance, TInput type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyGamma
Gets or sets the gamma value for the kernel. When setting gamma, sigma gets updated accordingly (gamma = 0.5/sigma^2).
Public propertySigma
Gets or sets the sigma value for the kernel. When setting sigma, gamma gets updated accordingly (gamma = 0.5/sigma^2).
Public propertySigmaSquared
Gets or sets the sigma² value for the kernel. When setting sigma², gamma gets updated accordingly (gamma = 0.5/sigma²).
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.
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodFunction
Gaussian Kernel function.
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Extension Methods
  NameDescription
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