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)

 Respuesta aceptada

Ive J
Ive J el 13 de Sept. de 2024
You can use NumImportantPredictors argument:
swarmchart(explainer, NumImportantPredictors=11)

Más respuestas (0)

Categorías

Más información sobre Mathematics and Optimization en Centro de ayuda y File Exchange.

Productos

Versión

R2024b

Etiquetas

Preguntada:

el 13 de Sept. de 2024

Respondida:

el 13 de Sept. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by