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)

 채택된 답변

Ive J
Ive J 2024년 9월 13일

1 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기

제품

릴리스

R2024b

질문:

2024년 9월 13일

답변:

2024년 9월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by