Predictor importance for PLS model trained with tidymodels
问题 I'm using tidymodels to fit a PLS model but I'm struggling to find the PLS variable importance scores or coefficients. This is what I've tried so far; the example data is from AppliedPredictiveModeling package. Modeling fitting data(ChemicalManufacturingProcess) split <- ChemicalManufacturingProcess %>% initial_split(prop = 0.7) train <- training(split) test <- testing(split) tidy_rec <- recipe(Yield ~ ., data = train) %>% step_knnimpute(all_predictors()) %>% step_BoxCox(all_predictors()) %>%