Skip to main content
. 2021 Aug 13;10(16):3567. doi: 10.3390/jcm10163567
Algorithm 1: SP-LIME algorithm.
Inputs:

S: The set of samples

F: The set of features

X: The set of instances for explanations

  1. Run the explanation model on all instances xiX with the aid of the LIME algorithm.

  2. Construct the explanation matrix Wij that represents the local importance of the interpretable features for each instance.

  3. Compute the global importance of each feature fjF with Ij=i=1nWij

  4. Maximize the coverage function by iteratively adding the instance with the highest maximum coverage gain.

Outputs:

Feature importance Ij

Instances that cover the important features VS