Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Added pos_label parameter to roc_auc_score function #2616
commented on the diff
Nov 28, 2013
|@@ -365,7 +365,7 @@ def auc_score(y_true, y_score):|
|return roc_auc_score(y_true, y_score)|
|-def roc_auc_score(y_true, y_score):|
|+def roc_auc_score(y_true, y_score, pos_label=None):|
|"""Compute Area Under the Curve (AUC) from prediction scores|
|Note: this implementation is restricted to the binary classification task.|