Recodes classes in a confusion matrix to
produce a new confusion matrix with new class labels or
aggregated classes.
Usage
aa_recode(cm, from = NULL, to = NULL, remove = NULL)
Arguments
- cm
confusion matrix
- from
vector of classes that need recoding
- to
vector of corresponding output classes
- remove
class label from "to" to be removed from the confusion matrix
Details
Recode confusion matrix