Contents

l2Penalty

Weight of the L2 regularization term.

Declaration

var l2Penalty: Double

Discussion

The larger this weight, the more the model coefficients shrink toward 0. This introduces bias into the model but decreases variance, potentially leading to better predictions. The default is 0.01.

See Also

Getting the properties