Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to evaluate a classifier in scikit-learn
ChannelData SchoolDescription from the creator
In this video, you'll learn how to properly evaluate a classification model using a variety of common tools and metrics, as well as how to adjust the performance of a classifier to best match your business objectives. I'll start by demonstrating the weaknesses of classification accuracy as an evaluation metric. I'll then discuss the confusion matrix, the ROC curve and AUC, and metrics such as sensitivity, specificity, and precision. By the end of the video, you will have a solid foundation for intelligently evaluating your own classification model.
Download the notebook: github.com/justmarkham/scikit-learn-videos
== CONFUSION MATRIX RESOURCES ==
Simple guide to confusion matrix terminology: dataschool.io/simple-guide-to-confusion-matrix-…
Intuitive sensitivity and specificity: youtube.com/watch?v=U4_3fditnWg
The tradeoff between sensitivity and specificity: youtube.com/watch?v=vtYDyGGeQyo
How to calculate "expected value" from a confusion matrix: github.com/podopie/DAT18NYC/blob/master/classes…
Classification threshold graphic: media.amazonwebservices.com/blog/2015/ml_adjust…
== ROC/AUC RESOURCES ==
ROC Curves and Area Under the Curve: youtube.com/watch?v=OAl6eAyP-yo
ROC visualization: navan.name/roc/
ROC Curves: youtube.com/watch?v=21Igj5Pr6u4
An introduction to ROC analysis: people.inf.elte.hu/kiss/13dwhdm/roc.pdf
Comparing different feature sets: research.microsoft.com/pubs/205472/aisec10-leon…
Comparing different classifiers: cse.ust.hk/nevinZhangGroup/readings/yi/Bradley_…
== OTHER RESOURCES ==
scikit-learn documentation on model evaluation: scikit-learn.org/stable/modules/model_evaluatio…
Comparing model evaluation procedures and metrics: github.com/justmarkham/DAT8/blob/master/other/m…
Counterfactual evaluation of machine learning models: youtube.com/watch?v=QWCSxAKR-h0
WANT TO GET BETTER AT MACHINE LEARNING? HERE ARE YOUR NEXT STEPS:
1) WATCH my scikit-learn video series:
youtube.com/playlist?list=PL5-da3qGB5ICeMbQuqbb…
2) SUBSCRIBE for more videos:
youtube.com/dataschool?sub_confirmation=1
3) JOIN "Data School Insiders" to access bonus content:
patreon.com/dataschool
4) ENROLL in my Machine Learning course:
dataschool.io/learn/
5) LET'S CONNECT!
- Newsletter: dataschool.io/subscribe/
- Twitter: twitter.com/justmarkham
- Facebook: facebook.com/DataScienceSchool/
- LinkedIn: linkedin.com/in/justmarkham/
Download the notebook: github.com/justmarkham/scikit-learn-videos
== CONFUSION MATRIX RESOURCES ==
Simple guide to confusion matrix terminology: dataschool.io/simple-guide-to-confusion-matrix-…
Intuitive sensitivity and specificity: youtube.com/watch?v=U4_3fditnWg
The tradeoff between sensitivity and specificity: youtube.com/watch?v=vtYDyGGeQyo
How to calculate "expected value" from a confusion matrix: github.com/podopie/DAT18NYC/blob/master/classes…
Classification threshold graphic: media.amazonwebservices.com/blog/2015/ml_adjust…
== ROC/AUC RESOURCES ==
ROC Curves and Area Under the Curve: youtube.com/watch?v=OAl6eAyP-yo
ROC visualization: navan.name/roc/
ROC Curves: youtube.com/watch?v=21Igj5Pr6u4
An introduction to ROC analysis: people.inf.elte.hu/kiss/13dwhdm/roc.pdf
Comparing different feature sets: research.microsoft.com/pubs/205472/aisec10-leon…
Comparing different classifiers: cse.ust.hk/nevinZhangGroup/readings/yi/Bradley_…
== OTHER RESOURCES ==
scikit-learn documentation on model evaluation: scikit-learn.org/stable/modules/model_evaluatio…
Comparing model evaluation procedures and metrics: github.com/justmarkham/DAT8/blob/master/other/m…
Counterfactual evaluation of machine learning models: youtube.com/watch?v=QWCSxAKR-h0
WANT TO GET BETTER AT MACHINE LEARNING? HERE ARE YOUR NEXT STEPS:
1) WATCH my scikit-learn video series:
youtube.com/playlist?list=PL5-da3qGB5ICeMbQuqbb…
2) SUBSCRIBE for more videos:
youtube.com/dataschool?sub_confirmation=1
3) JOIN "Data School Insiders" to access bonus content:
patreon.com/dataschool
4) ENROLL in my Machine Learning course:
dataschool.io/learn/
5) LET'S CONNECT!
- Newsletter: dataschool.io/subscribe/
- Twitter: twitter.com/justmarkham
- Facebook: facebook.com/DataScienceSchool/
- LinkedIn: linkedin.com/in/justmarkham/
About this tutorial
Data School published this 54:47 video tutorial on October 29, 2015. It has been watched 157,208 times on YouTube.
- Channel
- Data School
- Category
- Education
- Duration
- 54:47
- Published
- October 29, 2015
- Views
- 157,208
- Likes
- 2,409
Tags
Share
This tutorial in other languages
- FRComment évaluer un classificateur dans scikit-learn
- ESCómo evaluar un clasificador en scikit-learn
- PTComo avaliar um classificador em scikit-learn
- ITCome valutare un classificatore in scikit-learn
- DEWie ein Klassifikator in bewerten Scikit-Learn
- NLHoe maak je een classifier in evalueren scikit leren
- RUКак оценить классификатор в scikit учиться
- PLJak ocenić klasyfikator w scikit-learn
- JA学習scikitに分類器を評価する方法
- ARكيفية تقييم المصنف في scikit تعلم
- HIकैसे में एक वर्गीकारक मूल्यांकन करने के लिए scikit सीखने
- IDBagaimana untuk mengevaluasi classifier di scikit-belajar