Python in Plain English

New Python content every day. Follow to join our 3.5M+ monthly readers.

Follow publication

ROC/AUC in Machine Learning

Aaryansh Sahay
Python in Plain English
5 min readJun 16, 2021

Uses

Defining terms

Specificity
True Positive Rate
False Positive Rate

Plotting the curve

For more information about the dataset click here.

Output
Changed the scale so that the difference in values is visible.

Application

For more information visit this link which contains the ipynb file. This notebook is focused on a selecting model with the help of ROC curve , it doesn’t explore concepts like feature engineering, however these topics can be combined.

Refer to this link for more information on using Geometric Mean for this purpose.

Another way to get the best threshold is by using the Youden’s Statistic value or Youden’s Index(denoted by J). Click here for more information.

Conclusion

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet