roc_coordinates: Receiver Operating Characteristic (ROC)

View source: R/roc_coordinates.R

roc_coordinatesR Documentation

Receiver Operating Characteristic (ROC)

Description

Get Receiver Operating Characteristic (ROC) coordinates. An ROC curve is a plot in which the horizontal axis (the x axis) denotes the false-positive rate. The vertical axis (the y axis) denotes the true-positive rate of a classifier. ROC analysis studies the relationship between the sensitivity and the specificity of the classifier. It makes sence in the context of binary classification.

Usage

roc_coordinates(confusion_matrix)

Arguments

confusion_matrix

Confusion matrix to be used.

Value

matrix of ROC coordinates for given confusion matrix


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