Questions tagged [vip]
18 questions
0
votes
0 answers
R studio was forced to restart
Anyone can explain what does this mean? I ran xgboost with tree model, it took me four hours to finish up tuning all the parameters. When i tried to use vip function to show the important variables, but R studio was forced to restart, so my work was…

Gracetam
- 19
- 1
- 6
0
votes
1 answer
How to compute FIRM importance measure using VIP package and tidymodels (including recipe)
I want to compute the FIRM importance scores for a model made from a tidymodels workflow. For regex, I will use the iris dataset and try to predict whether an observation is setosa or not.
library(tidymodels)
library(readr)
library(vip)
#clean…

Anthony
- 105
- 7
0
votes
1 answer
Discripencies in variable importance calculation for glmnet model in R
I want to calculate variable importance for glmnet model in R. I am using glmnet package for fitting the elastic net model like
library(glmnet)
library(caret)
library(vip)
data_y <- as.vector(mtcars$mpg)
data_x <- as.matrix(mtcars[-1])
fit.glmnet…

UseR10085
- 7,120
- 3
- 24
- 54