Towards AI

The leading AI community and content platform focused on making AI accessible to all. Check out our new course platform: https://academy.towardsai.net/courses/beginner-to-advanced-llm-dev

Follow publication

Member-only story

The Beginners’ Guide to the ROC Curve and AUC

Understand what is ROC Curve and AUC, how to works, and how to use it for classification problems

Chetan Ambi
Towards AI
Published in
3 min readOct 7, 2020

Image by Author

In the previous article here, you have understood classification evaluation metrics such as Accuracy, Precision, Recall, F1-Score, etc. In this article, we will go through another important evaluation metric AUC-ROC score.

What is AUC-ROC

ROC curve (Receiver Operating Characteristic curve) is a graph showing the performance of a classification model at different probability thresholds.

ROC graph is created by plotting FPR Vs. TPR where FPR (False Positive Rate) is plotted on the x-axis and TPR (True Positive Rate) is plotted on the y-axis for different probability threshold values ranging from 0.0 to 1.0.

True Positive Rate (TPR) refers to the ratio of correctly predicted positive labels from all the positive labels.

False Positive Rate (FPR) refers to the ratio of incorrectly predicted positive labels from all the negative labels.

AUC stands for Area under the ROC Curve. It measures the entire two-dimensional area underneath the entire ROC curve from (0,0) to (1,1).

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Published in Towards AI

The leading AI community and content platform focused on making AI accessible to all. Check out our new course platform: https://academy.towardsai.net/courses/beginner-to-advanced-llm-dev

Written by Chetan Ambi

Data Science | Data Engineering | Big Data | Python | PySpark | Azure. Visit https://pythonsimplified.com

No responses yet

Write a response