banter (version 0.9.3)

modelPctCorrect: Model Percent Correct

Description

Extract percent correctly classified by species for detector and event models.

Usage

modelPctCorrect(x)

Arguments

x

a banter_model object.

Value

a data.frame with the percent correctly classified for each model in x.

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
)
# run BANTER event model
bant.mdl <- runBanterModel(bant.mdl, ntree = 1000, sampsize = 1)
modelPctCorrect(bant.mdl)

# }

Run the code above in your browser using DataLab