Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wony1105 opened this issue May 20, 2021 · 0 comments
Open

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

wony1105 opened this issue May 20, 2021 · 0 comments

Comments

@wony1105
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant