This is a test version of Biostars. For the public version, visit https://www.biostars.org.
lasso sign constrained

Hi Everyone,

I have question regarding two-sign constraint lasso. I have to perform two sign constrained lasso on a single file. On some columns (predictors) I would like to have only 0, -1 beta cofficient and some other column (predictors) I would like to 0,1. Is there any function for this in glmnet R package?

lasso

0 answers

No answers yet.

Log in to answer this question.