sensitivity: Sensitivity

View source: R/sensitivity.R

sensitivityR Documentation

Sensitivity

Description

Calculate Sensitivity using confusion matrix. "Sensitivity" is just another term to designate "True Positive Ratio". The term has its origin in the medical domain, in which the metric is typically used to study the effectiveness of a clinical test in detecting a disease (Japkowitcz, 2011). In the multiclass scenario, sensitivity measurements essentially study the accuracy of the classifier over individual classes. In this package the function is just a wrapper for 'true_negative_ratio()'.

Usage

sensitivity(confusion_matrix)

Arguments

confusion_matrix

Confusion matrix to be used.

Value

vector of Sensitivity values.


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