rf.input.validator: Input Validator

Description Usage Arguments Value Author(s)

Description

Input Validator

Usage

1
rf.input.validator(d, p, ntrees, bagg, depth.max, depth, size)

Arguments

d

the number of features to subsample at each node. Defaults to sqrt(p).

p

the number of features total.

ntrees

the number of trees to construct. Defaults to 10.

bagg

the relative size of the subsamples for the training set. Defaults to 0.632. A numeric s.t. 0 < bagg <= 1. Each subsample will be bagg*n elements.

depth.max

the maximum allowed tree depth.

size

the minimum allowed number of samples for an individual node.

Value

nothing; throws an error if the input is invalid.

Author(s)

Eric Bridgeford


ebridge2/badmf documentation built on June 4, 2019, 8:53 a.m.