Click or drag to resize
Accord.NET (logo)

HingeLoss Structure

Hinge loss.

Namespace:  Accord.Math.Optimization.Losses
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
[SerializableAttribute]
public struct HingeLoss : ILoss<double[]>, 
	ILoss<double[], double>, IDifferentiableLoss<bool, double, double>, 
	IDifferentiableLoss<double, double, double>
Request Example View Source

The HingeLoss type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyExpected
Gets the expected outputs (the ground truth).
Top
Methods
  NameDescription
Public methodDerivative(Boolean, Double)
Computes the derivative of the loss between the expected values (ground truth) and the given actual values that have been predicted.
Public methodDerivative(Double, Double)
Computes the derivative of the loss between the expected values (ground truth) and the given actual values that have been predicted.
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
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 methodLoss(Double)
Computes the loss between the expected values (ground truth) and the given actual values that have been predicted.
Public methodLoss(Double)
Computes the loss between the expected values (ground truth) and the given actual values that have been predicted.
Public methodLoss(Boolean, Double)
Computes the derivative of the loss between the expected values (ground truth) and the given actual values that have been predicted.
Public methodLoss(Double, Double)
Computes the derivative of the loss between the expected values (ground truth) and the given actual values that have been predicted.
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