Skip to contents

This function calculates the area under the precision-recall curve (AUC).

Usage

compute_pr_auc(dt)

Arguments

dt

A data table with columns for recall and precision.

Value

A numeric value representing the AUC.