lime icon indicating copy to clipboard operation
lime copied to clipboard

Issue with running time

Open platinum736 opened this issue 8 years ago • 2 comments

Hi, I am running LIME on my model having 1800 features with 1400+ BoW features and rest numeric features.

I see explainer working fine and running fine but the explain instance method is taking time in minutes to give result for single instance.

Let me know is it expected behaviour or am I doing something wrong.

platinum736 avatar Nov 20 '18 17:11 platinum736

By default, each explanation produces 5000 perturbed samples (you control this through the num_samples parameter). The explanation time is typically dominated by the time it takes your model to predict on those perturbed samples. If you want to speed things up, you can reduce the number of samples.

marcotcr avatar Nov 20 '18 17:11 marcotcr

Thanks @marcotcr num_samples helped in getting faster results

platinum736 avatar Nov 23 '18 07:11 platinum736