l2Penalty
Weight of the L2 regularization term.
Declaration
var l2Penalty: DoubleDiscussion
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 value is 0.01; setting this parameter to 0 corresponds to unregularized logistic regression.