Open aleksejs-fomins opened 2 years ago
params and predict should be available.
standard errors, cov_params and bse are not available for linear model elastic net fit_regularized, so no summary available either.
For variable selection with Lasso, AFAIR, there is an option to return the unpenalized model with the reduced number of explanatory variables.
(For pure L2 regularization, we also have a Ridge class but I don't remember the status.)
Thank you for your reply. That answers my question
Dear StatsModels developers,
Can you please tell me if it is currently possible to do regularized linear regression in statsmodels? According to the documentation, it should be possible to do, but my naive attempts do not work. The following code throws the
NotImplemented
error upon printing the results summary. If it is possible to use this functionality, can you please suggest how, or direct me to an example notebook. Briefly scanning through the existing example notebooks I was unable to locate anything suitable