Skip to contents

Computes the macro recall of the predictions.

Usage

macroRecMetric(auxData, predicted)

Arguments

auxData

The true labels.

predicted

The predicted labels.

Value

The macro recall.

Examples

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