marcotcr / lime

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

How does LIME choose it local ? #419

Closed thuybt closed 4 years ago

thuybt commented 4 years ago

Dear Marco, I have read your paper and use LIME to explain my model in Kaggle Default Risk competion data, and encounter some struggle as following:

  1. How can LIME choose or calculate πx(z)? Please refer your source code that is related to this part?
  2. How can LIME divide group of each variables in its explanation? Please help me address these issue, thank you in advance
thuybt commented 4 years ago

explain mar

marcotcr commented 4 years ago

Pi: here Definition: here

By group, I assume you mean the fact that we are discretizing continuous variables.