Machine Learning Fundamentals: The Confusion Matrix

StatQuest with Josh Starmer October 29, 2018
Video Thumbnail
StatQuest with Josh Starmer Logo

StatQuest with Josh Starmer

View Channel

About

Statistics, Machine Learning, Data Science, and AI seem like very scary topics, but since each technique is really just a combination of small and simple steps, they are actually quite simple. My goal with StatQuest is to break down the major methodologies into easy-to-understand pieces. That said, I don't dumb down the material. Instead, I build up your understanding so that you are smarter. Contact, Video Index, Etc: https://statquest.org

Video Description

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: https://youtu.be/fSytzGwwBVw For a complete index of all the StatQuest videos, check out: https://statquest.org/video-index/ If you'd like to support StatQuest, please consider... Patreon: https://www.patreon.com/statquest ...or... YouTube Membership: https://www.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... https://statquest.org/statquest-store/ ...or just donating to StatQuest! https://www.paypal.me/statquest Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter: https://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

You May Also Like

Practical ML Learning Tools

AI-recommended products based on this video

Loading...
Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

(382)
$94.95
PrimeFREE delivery Sat, Jun 14
Loading...
LK 6 Pack Screen Protector for Apple Watch Series 11 46mm, Self-Healing TPU Material for iWatch 46mm Screen Protector, Scrathes-Resistant, Bubble-Free, HD Clarity, Anti-Glare, Transparent Global Recycled Standard
Best Seller

LK 6 Pack Screen Protector for Apple Watch Series 11 46mm, Self-Healing TPU Material for iWatch 46mm Screen Protector, Scrathes-Resistant, Bubble-Free, HD Clarity, Anti-Glare, Transparent Global Recycled Standard

(1,111)
$16.99
FREE delivery Sun, Oct 5 on your first order
Loading...
ivoler Dockable Case for Nintendo Switch 2 (2025), Slim Carrying Protective PC Case, Soft TPU Grip Case for Joy-Con, Grip Cover with Shock-Absorption, Anti-Scratch, Split Design- Black

ivoler Dockable Case for Nintendo Switch 2 (2025), Slim Carrying Protective PC Case, Soft TPU Grip Case for Joy-Con, Grip Cover with Shock-Absorption, Anti-Scratch, Split Design- Black

(1,206)
$25.64
FREE delivery Sun, Jun 15 on your first order
50+ bought in past month
Loading...
HEYSTOP Switch Case for Nintendo Clear TPU Grip Protective Cover Case Compatible Accessories, Shock-Absorption Design, with a Tempered Glass Screen Protector and Thumb Caps

HEYSTOP Switch Case for Nintendo Clear TPU Grip Protective Cover Case Compatible Accessories, Shock-Absorption Design, with a Tempered Glass Screen Protector and Thumb Caps

(1,741)
$22.99
FREE delivery Sun, Jun 15 on your first order
Loading...
OHLPRO Tablet Holder for Car, iPad Holder for Car Air Vent Mount, Universal Dashboard Windshield 2-in-1 Cradle TPU Suction Sticky Gel for iPad/iPad mini Samsung Galaxy Size 6"- 10.5" iPad Car Holder

OHLPRO Tablet Holder for Car, iPad Holder for Car Air Vent Mount, Universal Dashboard Windshield 2-in-1 Cradle TPU Suction Sticky Gel for iPad/iPad mini Samsung Galaxy Size 6"- 10.5" iPad Car Holder

(1,961)
$22.99$15.09
FREE delivery Tue, Jun 17 on your first order
50+ bought in past month
Loading...
65W USB C Laptop Charger for Dell Latitude 5540 5420 5520 5430 5320 7275 7440 e5440 5450 7430 7400 5550 5530 9410 9510 XPS 13 15 Chromebook Fast Charging for Dell Computer Type C AC Adapter Power Cord

65W USB C Laptop Charger for Dell Latitude 5540 5420 5520 5430 5320 7275 7440 e5440 5450 7430 7400 5550 5530 9410 9510 XPS 13 15 Chromebook Fast Charging for Dell Computer Type C AC Adapter Power Cord

(25)
$29.99
FREE delivery Sun, Aug 24 on your first order
300+ bought in past month
Loading...
Replacement for Dell 130W Laptop Charger USB C - XPS 17 15 7590 9700 9500 9510 Precision 5560 3560 5540 5570 5550 3561 3550 5510 5520 Latitude 7410 7310 7210 Type C Computer AC Adapter Power Cord

Replacement for Dell 130W Laptop Charger USB C - XPS 17 15 7590 9700 9500 9510 Precision 5560 3560 5540 5570 5550 3561 3550 5510 5520 Latitude 7410 7310 7210 Type C Computer AC Adapter Power Cord

(1,131)
$45.98
FREE delivery Sun, Aug 24
100+ bought in past month
Loading...
tomtoc 360° Protective Laptop Sleeve for 15-inch MacBook Air M4/A3241 2025, M3/A3114 2024, M2/A2941 2023, 15-inch MacBook Pro A1990 A1707, Dell XPS 15 Plus Laptop, Water-Resistant Computer Case Bag Global Recycled Standard

tomtoc 360° Protective Laptop Sleeve for 15-inch MacBook Air M4/A3241 2025, M3/A3114 2024, M2/A2941 2023, 15-inch MacBook Pro A1990 A1707, Dell XPS 15 Plus Laptop, Water-Resistant Computer Case Bag Global Recycled Standard

(12,968)
$39.55
FREE delivery Tue, Jun 17
Loading...
45W 65W AC Adapter Laptop Charger for Dell Inspiron 15 14 13 17 3000 5000 7000 Series 5558 5559 Charger Latitude E6440 E6430 3520 3420 XPS 13 14 9333 9350 Notebook Dell Computer Power Supply Cord

45W 65W AC Adapter Laptop Charger for Dell Inspiron 15 14 13 17 3000 5000 7000 Series 5558 5559 Charger Latitude E6440 E6430 3520 3420 XPS 13 14 9333 9350 Notebook Dell Computer Power Supply Cord

(52)
$13.99
FREE delivery Sun, Aug 24 on your first order
100+ bought in past month
Loading...
10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

(1)
$99.99
FREE delivery Mon, Aug 11
Loading...
ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

(49)
$117.29$102.21
$6.86 delivery Thu, Aug 14
Loading...
7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

(61)
$68.99
FREE delivery Tue, Aug 12
Loading...
BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

(288)
$54.14
FREE delivery Sun, Jun 22