dot-predict: Predict classification of new patients using the forests of...

Description Usage Arguments Value

Description

For classification, we sum the votes from all the forests,

Usage

1
.predict(forests, testData)

Arguments

forests:

a list of randomForest objects.

testData:

[data frame] new data to classify using the forests. It must have at least the columns in 'expl_vars'. (We want to predict the value of 'dep_var' for it.)

Value

a vector of length 'nrow(testData)'.


IulianD/dsSwissKnifeClient documentation built on June 23, 2020, 4:38 p.m.