randomForest.default: Random forest default function

Description Usage

Description

Random forest default function

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Default S3 method:
randomForest(x, y = NULL, xtest = NULL,
  ytest = NULL, ntree = 500, mtry = if (!is.null(y) && !is.factor(y))
  max(floor(ncol(x)/3), 1) else floor(sqrt(ncol(x))),
  mtry.select.prob = rep(1/ncol(x), ncol(x)), keep.subset.var = NULL,
  replace = TRUE, classwt = NULL, cutoff, strata, sampsize = if
  (replace) nrow(x) else ceiling(0.632 * nrow(x)), nodesize = if
  (!is.null(y) && !is.factor(y)) 5 else 1, maxnodes = NULL,
  importance = FALSE, localImp = FALSE, nPerm = 1, proximity,
  oob.prox = proximity, norm.votes = TRUE, do.trace = FALSE,
  keep.forest = !is.null(y) && is.null(xtest), corr.bias = FALSE,
  keep.inbag = FALSE, ...)

sumbose/iRF documentation built on March 12, 2021, 7:36 a.m.