ML-learning-path

Self learning guide for machine learning

View the Project on GitHub elephantscale/ML-learning-path

Classification

Back to Index

Essential Reading

Understanding Classifications

Classification Metrics

Confusion Matrix

ROC Curve

Classification Metrics in Sci-kit Learn

Extra Reading

Checklist

Check your knowledge:

Exercises

Difficulty Level

★☆☆ - Easy
★★☆ - Medium
★★★ - Challenging
★★★★ - Bonus

EX-1: Draw a Confusion Matrix (★☆☆)

We have 10 type-A, and 20 type-B.
Imagine, we have a perfect classifier.
Draw a perfect confusion matrix

  Predicted A Predicted B
Actual A (10) ??? ???
Actual B (20) ??? ???

EX-2: Draw a Confusion Matrix (★★☆)

From the previous example, the classifier produced the following:

Draw the confusion matrix

  Predicted A Predicted B
Actual A (10) ??? ???
Actual B (20) ??? ???

And calculate the following:


Index