RegularizedRegressionModel.RegularizationParameter Property

Gets or sets the scale factor for the regularization terms in the model.

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public double RegularizationParameter { get; set; }

Property Value

Double

Remarks

Use the regularization parameter in combination with the RegularizationRatio property to perform ridge, LASSO, or elastic-net regression. This parameter specifies the importance of the regularization terms relative to the sum of the squared residuals. Its value must be greater than or equal to zero.

If this property is zero, then ordinary linear regression is performed.

This property is ignored when stepwise regression is used.

See Also