单项选择题

在决策树的可视化中可以用以下哪个获取决策树叶子节点的个数()

A.plotTree
B.plotNode
C.getTreeDepth
D.getNumLeafs