Make randomForest prediction

make_predictions(
  lrn,
  parvals,
  trainingData,
  targetData,
  model_type,
  filter = TRUE
)

Arguments

lrn

a learner name

parvals

a list of best tuned hyperparameters

trainingData

data to train the model

targetData

data used to predict

model_type
filter

logical, if true will train and predict for the relevance filter

Value

prediction or membership