You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Getting error while calling LimeTabular with ColumnTransformation #322
I would like to use LIME interpretation for the dataset, where i have done preprocessing like OneHotCoding, Imputer, Calculating new feature using ColumnTransformation. I found the below sample code provided for TabularExplainer (interpret-community). Here, the interpretation is provided on the raw feature based on transformation been passed.
When i have tried doing the same using LimeTabular i get the error, "Specifying the columns using strings is only supported for pandas DataFrames"
How i can achieve the interpretation of raw feature after such preprocessing is done?
This isn't in an area of the code that I am familiar with (yet), but if you're still tracking this issue @ritathakor or @koschmid can you tell me what type x_train is? Does LimeTabular still fail if x_train is a Pandas dataframe?
Activity
koschmid commentedon Apr 26, 2022
I ran into the same problem.
Would be nice if anybody has an idea about it.
Regards
Konstantin
paulbkoch commentedon Feb 13, 2023
This isn't in an area of the code that I am familiar with (yet), but if you're still tracking this issue @ritathakor or @koschmid can you tell me what type x_train is? Does LimeTabular still fail if x_train is a Pandas dataframe?