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 力图中,有没有办法将 x 轴的值更改为自定义名称?
f = plt.figure(figsize=(8, 6)) shap.summary_plot(shap_values, X_test, plot_type="bar", feature_names=X_train.columns, class_names = ORGD_Test['Class'])