Relative Content

Tag Archive for rmlr3

mlr3: Extracting non-zero coefficient in lrn(“surv.penalized”)

I’m doing an ML study. I’ve used surv.penalized for lasso Penalized Cox Regression Learner, and get the non-zero coefficients. And it seems to work i.e. I do get some non-zero coefficients and the rest go to zero. Is there a way to extract coefficients and their names that are not zero?