pr_coordinates: Precision–Recall (PR)

View source: R/pr_coordinates.R

pr_coordinatesR Documentation

Precision–Recall (PR)

Description

Get Precision–Recall (PR) coordinates. Precision–recall Curves, sometimes abbreviated as PR curves, are similar to ROC curves and lift charts in that they explore the trade-off between the well-classified positive examples and the number of misclassified negative examples.

Usage

pr_coordinates(confusion_matrix)

Arguments

confusion_matrix

Confusion matrix to be used.

Value

matrix of PR coordinates for given confusion matrix


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