C# Class SuperNeuro.Regularizers.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: SuperNeuro.Regularizers.L1L2
Show file Open project: tech-quantum/SuperchargedArray

Public Methods

Method Description
L2 ( float l = 0.01f )

Initializes a new instance of the L2 class.

Method Details

L2() public method

Initializes a new instance of the L2 class.
public L2 ( float l = 0.01f )
l float The value for the regularizer.