banter (version 0.9.3)

plotDetectorTrace: Plot BANTER Detector Traces

Description

Plot traces of OOB error rates for detector Random Forest models

Usage

plotDetectorTrace(x, detector = NULL)

Arguments

x

a banter_model object.

detector

names of models to plot. If set to NULL, traces for all models will be shown.

See Also

plotRFtrace

Examples

Run this code
# NOT RUN {
data(train.data)
# initialize BANTER model with event data
bant.mdl <- initBanterModel(train.data$events)
# add all detector models
bant.mdl <- addBanterDetector(
  bant.mdl, train.data$detectors, 
  ntree = 50, sampsize = 1, num.cores = 1
)

plotDetectorTrace(bant.mdl)

# }

Run the code above in your browser using DataLab