Skip to content

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

@wony1105

Description

@wony1105

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions