confusion.matrix.bookmaker.informedness.simple: Confusion Matrix Measures - Bookmaker Informedness

Description Usage Arguments Value

View source: R/confusion.matrix.bookmaker.informedness.simple.R

Description

Calculate Bookmaker Informedness, defined as TPR+TNR-1, for a given confusion matrix.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
confusion.matrix.bookmaker.informedness.simple(
  true.positive = 0,
  false.negative = 1,
  count.positive = true.positive + false.negative,
  false.positive = 0,
  true.negative = 1,
  count.negative = false.positive + true.negative,
  true.positive.rate = confusion.matrix.true.positive.rate.simple(true.positive =
    true.positive, count.positive = count.positive),
  true.negative.rate = confusion.matrix.true.negative.rate.simple(true.negative =
    true.negative, count.negative = count.negative)
)

Arguments

true.positive

Scalar - Cases identified as true positive

false.negative

Scalar - Cases identified as false negative

count.positive

Scalar - Total cases identified as positive - optional if first four parameters are used.

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 four parameters are used.

true.positive.rate

Scalar - True positive rate, overrides other parameters used to calculate TPR.

true.negative.rate

Scalar - True negative rate, overrides other parameters used to calculate TNR.

Value

A scalar with computed value.


burrm/lolcat documentation built on Oct. 13, 2021, 11:35 p.m.