skglm
skglm copied to clipboard
Faster computation of penalty.value
Currently penalty.value on takes w in argument https://github.com/scikit-learn-contrib/skglm/blob/99d0a0636b678876e26e93f28bf1d87b5c0d0b97/skglm/penalties/separable.py#L77
Computation could be made faster by using penalty.value(w, ws) (one cannot simply call penalty.value(w[ws]) because of the weighted l1 norm