torchdms.loss.sitewise_group_lasso

torchdms.loss.sitewise_group_lasso(matrix)[source]

The sum of the 2-norm across columns.

We omit the square root of the group sizes, as they are all constant in our case.