Swarmchart maximum diplay for shapley?

8 vues (au cours des 30 derniers jours)
Ozge
Ozge le 13 Sep 2024
Réponse apportée : Ive J le 13 Sep 2024
I will draw a shapey model with Swarmchart. When I draw it, it shows a maximum of 10 predictors on the right axis. How can I increase it to 20?
Example;
swarmchart(explainer,'Class',1)

Réponse acceptée

Ive J
Ive J le 13 Sep 2024
You can use NumImportantPredictors argument:
swarmchart(explainer, NumImportantPredictors=11)

Plus de réponses (0)

Produits


Version

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by