Last chance! 50% off unlimited learning
Sale ends in
classError(classification, truth)
classification
.mapClass
,
table
a <- rep(1:3, 3)
a
b <- rep(c("A", "B", "C"), 3)
b
classError(a, b)
a <- sample(1:3, 9, replace = TRUE)
a
b <- sample(c("A", "B", "C"), 9, replace = TRUE)
b
classError(a, b)
Run the code above in your browser using DataLab