SmoothHingeLoss Structure 
Namespace: Accord.Math.Optimization.Losses
[SerializableAttribute] public struct SmoothHingeLoss : ILoss<double[]>, ILoss<double[], double>, IDifferentiableLoss<bool, double, double>, IDifferentiableLoss<double, double, double>
The SmoothHingeLoss type exposes the following members.
Name  Description  

SmoothHingeLoss(Boolean) 
Initializes a new instance of the SmoothHingeLoss class.
 
SmoothHingeLoss(Double) 
Initializes a new instance of the SmoothHingeLoss class.
 
SmoothHingeLoss(Double) 
Initializes a new instance of the SmoothHingeLoss class.
 
SmoothHingeLoss(Int32) 
Initializes a new instance of the SmoothHingeLoss class.

Name  Description  

Derivative(Boolean, Double) 
Computes the derivative of the loss between the expected values (ground truth)
and the given actual values that have been predicted.
 
Derivative(Double, Double) 
Computes the derivative of the loss between the expected values (ground truth)
and the given actual values that have been predicted.
 
Equals  Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)  
GetHashCode  Returns the hash code for this instance. (Inherited from ValueType.)  
GetType  Gets the Type of the current instance. (Inherited from Object.)  
Loss(Double) 
Computes the loss between the expected values (ground truth)
and the given actual values that have been predicted.
 
Loss(Boolean, Double) 
Computes the derivative of the loss between the expected values (ground truth)
and the given actual values that have been predicted.
 
Loss(Double, Double) 
Computes the derivative of the loss between the expected values (ground truth)
and the given actual values that have been predicted.
 
ToString  Returns the fully qualified type name of this instance. (Inherited from ValueType.) 
Name  Description  

HasMethod 
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)  
IsEqual 
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.)  
To(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.)  
ToT  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.) 