Machine Learning Fundamentals: The Confusion Matrix @statquest
Machine Learning Fundamentals: The Confusion Matrix  @statquest
Uploaded October 2018 | Updated September 2026, 1 week ago
One of the fundamental concepts in machine learning is the Confusion Matrix. Combined with Cross Validation, it's how we decide which machine learning method would be best for our dataset. Check out the video to find out how!

NOTE: This video illustrates the confusion matrix concept as described in the Introduction to Statistical Learning, page 145.

Also, if you're not already familiar with cross validation, check out the Quest: youtu.be/fSytzGwwBVw

For a complete index of all the StatQuest videos, check out:
statquest.org/video-index

If you'd like to support StatQuest, please consider...

Patreon: patreon.com/statquest
...or...
YouTube Membership: youtube.com/channel/UCtYLUTtgS3k1Fg4y5tAhLbw/join

...buying one of my books, a study guide, a t-shirt or hoodie, or a song from the StatQuest store...
statquest.org/statquest-store

...or just donating to StatQuest!
paypal.me/statquest

Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
twitter.com/joshuastarmer

Lastly, a big thanks goes to Cesar Diniz for the Portuguese subtitles.

0:00 Awesome song and introduction
0:24 Motivation for confusion matrices
1:38 Definition of confusion matrix and related terminology
2:44 Confusion matrix example
3:41 Comparing confusion matrices
4:47 A 3x3 confusion matrix.
6:20 Large confusion matrices
6:38 Summary of concepts and main ideas

#statquest #confusionmatrix #ML
Machine Learning Fundamentals: The Confusion MatrixDesign Matrix Examples in R, Clearly Explained!!!Neural Networks Part 5: ArgMax and SoftMaxThe matrix math behind transformer neural networks, one step at a time!!!Tensors for Neural Networks, Clearly Explained!!!False Discovery Rates, FDR, clearly explainedSequence-to-Sequence (seq2seq) Encoder-Decoder Neural Networks, Clearly Explained!!!Matrix NotationSilly Songs, Clearly Explained!!!Design Matrices For Linear Models, Clearly Explained!!!AdaBoost, Clearly ExplainedThe SoftMax Derivative, Step-by-Step!!!
StatQuest with Josh Starmer |

Machine Learning Fundamentals: The Confusion Matrix

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER