mathurinm / celer

Fast solver for L1-type problems: Lasso, sparse Logisitic regression, Group Lasso, weighted Lasso, Multitask Lasso, etc.
https://mathurinm.github.io/celer/
BSD 3-Clause "New" or "Revised" License
199 stars 33 forks source link

ENH get rid of inv_lc in lasso_fast.pyx #245

Open mathurinm opened 2 years ago

mathurinm commented 2 years ago

It is not used in the Lasso case, and for the logreg case we can avoid this design with the declaration of inv_lc_j inside the various if/else of the cd loop