confusion.matrix.false.discovery.rate.simple: Confusion Matrix Measures - False Discovery Rate

View source: R/confusion.matrix.false.discovery.rate.simple.R

confusion.matrix.false.discovery.rateR Documentation

Confusion Matrix Measures - False Discovery Rate

Description

Calculate False Discovery Rate, defined as FP / (FP + TP), for a given confusion matrix.

Usage

confusion.matrix.false.discovery.rate(confusion.matrix)

confusion.matrix.false.discovery.rate.simple(
  false.positive = 0,
  true.positive = 1
)

Arguments

confusion.matrix

Matrix - confusion matrix.

false.positive

Scalar - Cases identified as false positive

true.positive

Scalar - Cases identified as true positive

Value

A scalar with computed value.


burrm/lolcat documentation built on July 22, 2022, 6:21 a.m.