Class SquaredHinge
Squared Hinge Loss function is a variant of Hinge Loss, it solves the problem in hinge loss that the derivative of hinge loss has a discontinuity at Pred * True = 1
Inheritance
System.Object
SquaredHinge
Assembly: SiaNet.dll
Syntax
public class SquaredHinge : BaseLoss
Constructors
|
Improve this Doc
View Source
SquaredHinge()
Declaration
Methods
|
Improve this Doc
View Source
Backward(Tensor, Tensor)
Declaration
public override Tensor Backward(Tensor preds, Tensor labels)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
Forward(Tensor, Tensor)
Declaration
public override Tensor Forward(Tensor preds, Tensor labels)
Parameters
Returns
Overrides
See Also