true_positive_rate: True Positive Rate

View source: R/true_positive_rate.R

true_positive_rateR Documentation

True Positive Rate

Description

Calculate True Positive Rate using confusion matrix. The proportion of the examples of some class i of interest actually assigned to class i by the learning algorithm.

Usage

true_positive_rate(confusion_matrix)

Arguments

confusion_matrix

Confusion matrix to be used.

Value

vector of True Positives Rate values.


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