Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about beeswarm

Read more about beeswarm

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - beeswarm

Is there a way to customize the feature order in a SHAP beeswarm plot?

I'm wondering if there's a way to change the order the features in a SHAP beeswarm plot are displayed in. The docs describe "transforms" like using shap_values.abs or shap_values.abs.mean(0)...
test-img

Eich Varkin

python

matplotlib

plot

shap

beeswarm

Votes: 0

Answers: 1

Latest Answer

This is the default implementation of ordering: import xgboost import shap X, y = shap.datasets.adult() model = xgboost.XGBClassifier().fit(X, y) explainer = shap.Explainer(model, X) shap_values = e...
test-img

Sergey Bushmanov

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved