recall: Recall

View source: R/metrics.R

recallR Documentation

Recall

Description

Computes recall from a confusion matrix, see confusion. Recall is defined as TP/(TP + FN), where TP are true positives and FN are false negatives. If TP + FN = 0, 0 is returned.

Usage

recall(confusion)

Arguments

confusion

Confusion matrix as obtained from confusion

Value

A numeric in [0,1].


causalDisco documentation built on May 12, 2022, 9:05 a.m.