broom.helpers icon indicating copy to clipboard operation
broom.helpers copied to clipboard

Improving `glmnet` output

Open larmarange opened this issue 2 years ago • 2 comments

glmnet() only accepts a matrix of continuous variables. It does not provide a model.frame() or a model.matrix() method.

However, should we consider that all variables are simply continuous?

larmarange avatar Jun 21 '22 09:06 larmarange

CC @ddsjoberg

larmarange avatar Jun 21 '22 13:06 larmarange

The result contains nobs (the number of observations)

A class is also added on the model indicate the type ("elnet", "lognet", "multnet", "fishnet" (poisson), "coxnet" or "mrelnet" for the various types of models).

larmarange avatar Jun 21 '22 18:06 larmarange

Closing it for now

larmarange avatar Jul 27 '24 12:07 larmarange