Open sweta30 opened 1 year ago
There are various places in the algorithms that use random numbers. If one doesn't use a consistent random_seed()
value, it is obvious to get different results while running with the same parameter or hyperparameters. So, it is unsurprising if you got different results from different random seeds.
I would suggest checking this article for more info.
I hope this answers your question.
While using the iris dataset, I tried to generate LIME values for features with a different random seed and got inconsistency in LIME values and feature importance between each run. So wanted to raise a concern about its reliability. I have uploaded two screenshots from my observation.
sample used for explanation : 5.5 , 3.5 , 1.3 , 0.2
First Run![test1](https://user-images.githubusercontent.com/32213867/178429460-187bcb66-9437-4863-988e-7d3851cf6a8b.JPG)
Second Run![test2](https://user-images.githubusercontent.com/32213867/178429488-58a9c11c-2dc0-49ae-b4cc-90c1c772db9b.JPG)