I using the package lime::explain

I'm trying to run lime::explain and I get the following error. Can somebody please help? Thank you.

explainer <- lime::lime(

  • x = x_train_tbl,
  • model = model_keras,
  • bin_continuous = FALSE
  • )

explanation <- lime::explain(

  • x_test_tbl[1:10,],
  • explainer = explainer,
  • n_labels = 1,
  • n_features = 4,
  • kernel_width = 0.5
  • )
    Error in dimnames<-.data.frame(*tmp*, value = list(n)) :
    invalid 'dimnames' given for data frame

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.