Returns log2(AUPRC/prior) based on the AMR phenotype predictions by an ML model compared against the actual values.

.calculateLog2APOP(test_data_plus_predictions)

Arguments

test_data_plus_predictions

Test data (tibble) with an added column for predicted phenotype labels, such as the output of predictML()

Value

log2(AUPRC/prior)