# NOT RUN {
set.seed(23)
labels = sample(c("female", "male", "unknown", "noname"), 100, replace = TRUE)
predictions = sample(c("female", "male", NA), 100, replace = TRUE)
classificationErrors(labels, predictions)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab