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
Afficher le fichier Open project: tech-quantum/SuperchargedArray

Méthodes publiques

Méthode Description
L2 ( float l = 0.01f )

Initializes a new instance of the L2 class.

Method Details

L2() public méthode

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