yngvem / group-lasso

Group Lasso implementation following the scikit-learn API
MIT License
105 stars 32 forks source link

Add option for disabling scaling of regularisation #7

Closed yngvem closed 4 years ago

yngvem commented 4 years ago

Currently, the group-wise regularisation coefficients are scaled by the square root of the group size, so the influence of each variable is the same. However, this does not make sense for dummy-encoded variables.

There should therefore be added an option upon init to disable the group-wise scaling so the user doesn't need to feed in a vector of regularisation coeficients.

yngvem commented 4 years ago

Now merged in master.