marcotcr / lime

Lime: Explaining the predictions of any machine learning classifier
BSD 2-Clause "Simplified" License
11.4k stars 1.79k forks source link

Issues with LIME Implementation in Image Classification #740

Open SouCh305 opened 4 months ago

SouCh305 commented 4 months ago

Hello everyone,

I've encountered an issue while integrating LIME into my code for breast cancer image classification. Despite my attempts to address it, I consistently receive white images as output. I've tried adjusting the number of samples, both increasing and decreasing it, , but unfortunately, the issue persists. Notably, when I reduced the number of features to 1 and 2, I observed yellow lines within the white images.

Number of features = 1: 1

Number of features = 2: 2

Number of features > 2: 3

It's worth mentioning that I'm executing my code on a Kaggle notebook. I would greatly appreciate any suggestions or guidance on resolving this issue. Thank you in advance for your assistance.