Description Usage Arguments Value Examples
This function takes the predictions of a model, (can be either binary 0 or 1, or continous numeric [0,1]) and calculates the precision recall curve, and then gets the auc under the curve given the predicted values and actual values Notes : baseline is ~.35, and perfect is 1
1 | auc_pr(predictions, outcomes)
|
predictions |
list of numerics, predicted values |
outcomes |
list of numerics, actual values/outcomes |
numeric, returns AUC precision recall value
1 2 | auc_pr(predictions = FakePredictionResults$est.risk.score,
outcomes = FakePredictionResults$true.risk.bin)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.