I have noticed that when the input data contains discrete numeric fields, LIME ignores such fields in its explanations. This could be binary fields input into a model as numeric 0/1 values (some models take only numeric inputs). Or, it might be variables that just take a few distinct values because of rounding etc.
I am running lime via R. I am attaching a reproducible example.
The issue seems to occur for bin_continuous=T and quantile_bins=T in lime(). Setting quantile_bins=F appears to "fix" the issue. The relative proportions of the levels doesn't seem to matter much. I am wondering if there is possibly some issue with ties in quantile_bins. The exact values of the numeric levels doesn't seem to matter, and the same issue occurs for 2 or 3 distinct levels in numeric fields. Using a model type that takes factor inputs also "fixes" the issue.
Please let me know if you have comments or need more information. Thank you!
lime_vignette_test.txt