Python 3.7 でパッケージ LIME を使用していますが、一部の変数では出力が直感的ではないようです。
def explain(index, num_features):
exp = explainer.explain_instance(X_test.loc[index,:], rf.predict, num_features = num_features)
exp.show_in_notebook(show_all=False) #only the features used in the explanation are displayed
print(exp.as_list())
num_feat = 5
explain(5000, num_feat)
正常に機能する次の結果が得られます
しかし、LandUse6 の特徴値を見ると、LIME からの変数重要度は厳密に 0 より大きく、特徴値は 0 です。これは満たされていませんか、それともこの値をどのように解釈すればよいですか?