d.b.step1: Classifier 1 - Step 1

Description Usage Arguments Value Author(s) Examples

View source: R/randomForest.R

Description

To get (back) to the overview of all steps and functions use this link: a.a.main

Usage

1
2
d.b.step1(trainData, numTrees, pMtry = NULL, pNodesize = NULL,
  pCutoff = NULL)

Arguments

trainData

A data frame with number of images as rowsize and number of features as columnsize that holds the feature data

numTrees

A number that defines the number of trees randomForest should use (see package randomForest)

pMtry

A number that defines the number of variables randomly sampled as candidates at each split of randomForest (see package randomForest). This parameter is optional

pNodesize

A number that defines the minimum size of terminal nodes for randomForest (see package randomForest). This parameter is optional

pCutoff

A vector of length equal to number of classes that defines the ratio of proportion of votes to cutoff (see package randomForest). This parameter is optional

Value

A randomForest model that has been trained on the feature data

Author(s)

Vitali Friesen, Colin Juers, Tassilo Tobollik

Examples

1
\code{rfModel <- d.b.step1(featureData, numTrees, mtry, nodesize, cutoff)}

Vitlik/DA2-17 documentation built on May 20, 2019, 11:12 a.m.