NPV: Negative predictive value

View source: R/metrics.R

NPVR Documentation

Negative predictive value

Description

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

Usage

NPV(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.

Related to NPV in causalDisco...