Algorithm 2. Feature selection for providing explanations |
Input: userSelectedFeatures: user-selected features, |
shapValue: SHAP values for all features (see Algorithm 1), |
features: list of all features |
Output: relevantFeatures: relevant feature list |
1: |
2: |
3: for do |
4: if then |
5: |
6: end if |
7: end for |
8: |
9: return relevantFeatures |