gettree.r

来自「本程序是基于linux系统下c++代码」· R 代码 · 共 14 行

R
14
字号
### Name: getTree
### Title: Extract a single tree from a forest.
### Aliases: getTree
### Keywords: tree

### ** Examples

data(iris)
## Look at the third trees in the forest.
getTree(randomForest(iris[,-5], iris[,5], ntree=10), 3, labelVar=TRUE)



⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?