python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Shapley values for glmnet using R's iml package
I'm unable to use the iml package in R to find shapley values for glmnet models.
It seems like the problem might be related to the fact that glmnet() and predict.glmnet() expect matrices, while the x....
infinitefactors
Votes: 0
Answers: 0
Run Lasso regression by groups and combine results
I would like to apply the lasso regression from glmnet on a panel dataset for each two groping variables and then combine all the coefficient results together in one dataframe where each lasso regress...
Erwin Rhine
Votes: 0
Answers: 1
Adjusted Predictions Tidymodels
Does anyone know how to use predictions() in the marginaleffects() package with tidymodels? In this toy example, I want to get the predicted values of the variable state while holding all other variab...
mapleleaf
Votes: 0
Answers: 1
LASSO regression - Force variables in glmnet with tidymodels
I am doing feature selection using LASSO regression with tidymodels and glmnet.
It is possible to force variables in glmnet by using the penalty.factors argument (see here and here, for example).
Is i...
Duccio A
Votes: 0
Answers: 1