WJLCHOSEN1 2024-10-10 23:46 采纳率: 0%
浏览 705

shap时分析报错,不知道如何解决

请问shap分析时,运行此代码shap.summary_plot(shap_values[1], X_test, plot_type="bar")时报错为:The shape of the shap_values matrix does not match the shape of the provided data matrix.该怎么解决呀,谢谢各位。

  • 写回答

4条回答 默认 最新

  • creamheroes 2024-12-29 17:04
    关注

    请问你解决这个问题了吗?

    评论

报告相同问题?

问题事件

  • 创建了问题 10月10日