lime icon indicating copy to clipboard operation
lime copied to clipboard

Error in feature_distribution[[i]] : subscript out of bounds

Open wony1105 opened this issue 3 years ago • 0 comments

Hi there,

I am keep experiencing error when I use explain function in r.

explainer_xgb <- lime(data_train_1718 %>% dplyr::select(-tj_year), xgb_fit_1718, bin_continuous = F, quantile_bins = F) explanations_xgb <- lime::explain(data_test_samp, explainer_xgb, labels = "1", n_features = 10)

Error in feature_distribution[[i]] : subscript out of bounds

My data has about 300 columns and column names like "CU_release_pos_z_mn" (about 20~30 characters per each column) I think this is causing problems, maybe.

Is there any way I can go through this?

wony1105 avatar May 20 '21 23:05 wony1105