confusion.matrix.false.positive.rate.simple: Confusion Matrix Measures - False Positive/Fallout Rate

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

confusion.matrix.false.positive.rateR Documentation

Confusion Matrix Measures - False Positive/Fallout Rate

Description

Calculate False Positive Rate (sometimes called Fallout rate), defined as FP/N, for a given confusion matrix.

Usage

confusion.matrix.false.positive.rate(confusion.matrix)

confusion.matrix.fall.out(confusion.matrix)

confusion.matrix.false.positive.rate.simple(
  false.positive = 0,
  true.negative = 1,
  count.negative = false.positive + true.negative
)

confusion.matrix.fall.out.simple(
  false.positive = 0,
  true.negative = 1,
  count.negative = false.positive + true.negative
)

Arguments

confusion.matrix

Matrix - confusion matrix.

false.positive

Scalar - Cases identified as false positive

true.negative

Scalar - Cases identified as true negative

count.negative

Scalar - Total cases identified as negative - optional if first two parameters are used.

Value

A scalar with computed value.


burrm/lolcat documentation built on Sept. 15, 2023, 11:35 a.m.