Swarmchart maximum diplay for shapley?

7 次查看(过去 30 天)
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
You can use NumImportantPredictors argument:
swarmchart(explainer, NumImportantPredictors=11)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Grid Lines, Tick Values, and Labels 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by