Show / Hide Table of Contents

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.

Inheritance
System.Object
BaseRegularizer
L1L2
L2
Inherited Members
BaseRegularizer.Name
Namespace: SiaNet.Regularizers
Assembly: SiaNet.dll
Syntax
public class L2 : L1L2

Constructors

| Improve this Doc View Source

L2(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.

See Also

L1L2
  • Improve this Doc
  • View Source
Back to top Generated by DocFX