Is there a way of using the linear model api to add the lasso penalty for a subset of the parameters I am regressing? For example, consider a linear separable decomposition that I want to fit to some sparse data subject to smooth constraints in one of the (separable) dimension.
This question indicates that this is somewhat possible through R's glm.
Is there LASSO type model in which only some of the regressors are regulated?
Of course, a DIY method will not be too hard. The question is rather whether it is possible through the scikit learn api.