Newer
Older
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/precision_recall.R, R/rocr_functions.R
\name{compute_pr_auc}
\alias{compute_pr_auc}
\title{Computes area under the precision-recall curve (AUC).}
\usage{
compute_pr_auc(dt)
compute_pr_auc(dt)
}
\arguments{
\item{dt}{A data table with columns for recall and precision.}
}
\value{
A numeric value representing the AUC.
A numeric value representing the AUC.
}
\description{
This function calculates the area under the precision-recall curve (AUC).
This function calculates the area under the precision-recall curve (AUC).
}