0
点赞
收藏
分享

微信扫一扫

shap值的使用

RockYoungTalk 2022-03-12 阅读 44
机器学习

import shap
shap.initjs()
explainer = shap.TreeExplainer(model)
shap_values = explainer.shap_values(X_train)
shap.summary_plot(shap_values, X_train,max_display=80)

举报

相关推荐

0 条评论