skglm icon indicating copy to clipboard operation
skglm copied to clipboard

ENH add support for L1 + L2 regularization in SparseLogisticRegression

Open mathurinm opened this issue 1 year ago • 1 comments

Currently we only support L1 in logreg: https://contrib.scikit-learn.org/skglm/generated/skglm.SparseLogisticRegression.html

We could introduce a second regularization parameter corresponding to a squared L2 regularisation, like ElasticNet is to Lasso

@PascalCarrivain would you give it a try ?

mathurinm avatar Mar 25 '24 15:03 mathurinm

Ok, why not.

PascalCarrivain avatar Mar 26 '24 14:03 PascalCarrivain