Swarmchart maximum diplay for shapley?

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)

 Risposta accettata

You can use NumImportantPredictors argument:
swarmchart(explainer, NumImportantPredictors=11)

Più risposte (0)

Prodotti

Release

R2024b

Richiesto:

il 13 Set 2024

Risposto:

il 13 Set 2024

Community Treasure Hunt

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

Start Hunting!

Translated by