Skip to contents

Computes the micro recall of the predictions.

Usage

microRecMetric(auxData, predicted)

Arguments

auxData

The true labels.

predicted

The predicted labels.

Value

The micro recall.

Examples

auxData <- factor(c("A", "B", "A", "B"))
predicted <- factor(c("A", "A", "A", "B"))
microRecMetric(auxData, predicted)
#> [1] 0.75