📄 grow.rd
字号:
\name{grow}\alias{grow}\alias{grow.default}\alias{grow.randomForest}\title{Add trees to an ensemble}\description{ Add additional trees to an existing ensemble of trees.}\usage{\method{grow}{randomForest}(x, how.many, ...)}\arguments{ \item{x}{an object of class \code{randomForest}, which contains a \code{forest} component.} \item{how.many}{number of trees to add to the \code{randomForest} object.} \item{...}{currently ignored.}}\value{An object of class \code{randomForest}, containing \code{how.many}additional trees. }\note{The \code{confusion}, \code{err.rate}, \code{mse} and \code{rsq}components (as well as the corresponding components in the \code{test}compnent, if exist) of the combined object will be \code{NULL}. }\seealso{\code{\link{combine}}, \code{\link{randomForest}}}\author{Andy Liaw \email{andy\_liaw@merck.com}}\examples{data(iris)iris.rf <- randomForest(Species ~ ., iris, ntree=50, norm.votes=FALSE)iris.rf <- grow(iris.rf, 50)print(iris.rf)}\keyword{regression}\keyword{classif}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -