Calculate the Area Under the Curve

Compute the Area Under the Receiver Operating Characteristic Curve (ROC AUC) from prediction scores.

1 | ```
AUC(y_pred, y_true)
``` |

`y_pred` |
Predicted probabilities vector, as returned by a classifier |

`y_true` |
Ground truth (correct) 0-1 labels vector |

Area Under the ROC Curve (ROC AUC)

1 2 3 4 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.