Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将 SHAP 用于 ANN 模型解释。我发现当我使用
shap.summary_plot(shap_values[0], backgournd, plot_type='bar')
对于 dummy 之后的分类变量,特征重要性类似于
CategoricalFeature_A=0.1 CategoricalFeature_B=0.3 CategoricalFeature_C=0.3
我想知道有什么方法可以直接获得特征重要性CategoricalFeature吗?
CategoricalFeature