Skip to content

Commit 472c2a3

Browse files
authored
FIX objective function in docstring GroupLasso (#241)
1 parent 7054fd0 commit 472c2a3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

skglm/estimators.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,11 +1547,10 @@ class GroupLasso(LinearModel, RegressorMixin):
15471547
The optimization objective for GroupLasso is:
15481548
15491549
.. math::
1550-
1 / (2 xx n_"samples") \sum_g ||y - X_{[g]} w_{[g]}||_2 ^ 2 + alpha \sum_g
1550+
1 / (2 xx n_"samples") ||y - X w||_2 ^ 2 + alpha \sum_g
15511551
weights_g ||w_{[g]}||_2
15521552
1553-
with :math:`w_{[g]}` (respectively :math:`X_{[g]}`) being the coefficients
1554-
(respectively the columns) of the g-th group.
1553+
with :math:`w_{[g]}` the coefficients of the g-th group.
15551554
15561555
Parameters
15571556
----------

0 commit comments

Comments
 (0)