grow.rd

来自「是基于linux系统的C++程序」· RD 代码 · 共 48 行

RD
48
字号
\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 + =
减小字号Ctrl + -
显示快捷键?