scott_pi: Scott's Pi

View source: R/scott_pi.R

scott_piR Documentation

Scott's Pi

Description

Calculate Scott's Pi using confusion matrix. It estimates the chance that a label (positive or negative) is assigned given a random instance irrespective of the label-assigning process. For more information see Scott (1955)

Usage

scott_pi(confusion_matrix)

Arguments

confusion_matrix

Confusion matrix to be used.

Value

integer Scott's Pi value.


nikitagusarov/performancer documentation built on Jan. 12, 2023, 12:19 a.m.