Class L2
L2 regularization technique also called Ridge Regression.
Ridge regression adds “squared magnitude” of coefficient as penalty term to the loss function. Here the highlighted part represents L2 regularization element.
Inherited Members
Namespace: SiaNet.Regularizers
Assembly: SiaNet.dll
Syntax
public class L2 : L1L2
Constructors
| Improve this Doc View SourceL2(Single)
Initializes a new instance of the L2 class.
Declaration
public L2(float l = 0.01F)
Parameters
Type | Name | Description |
---|---|---|
System.Single | l | The value for the regularizer. |