From the course: Complete Your First Project in R
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Understanding summary metrics
From the course: Complete Your First Project in R
Understanding summary metrics
- [Narrator] Now that you know how to create decision trees, random force, and SVMs, it is time for you to learn how to evaluate them. You'll be creating confusion matrices and gathering summary metrics for each of the three algorithms. Let's take a moment to understand these concepts. A confusion matrix is a tool used in machine learning to evaluate the accuracy of a model. It displays the predictive values against the actual values to see how many match for each option in a grid-like manner. The diagonal values are correct predictions, while the other values are incorrect predictions. There are multiple summary metrics you will explore. From the confusion matrix, you'll gather true and false positive and true and false negative values that you can use to create some of these summary metrics. True positive will be denoted as TP, false positive as FP, true negative as TN, and false negative as FN. The first summary metric is sensitivity, which is the ratio of how many values were…
Contents
-
-
-
-
(Locked)
Understanding classification analysis3m 55s
-
(Locked)
How to prepare data for classification6m 31s
-
(Locked)
How to run a decision tree algorithm7m 9s
-
(Locked)
How to run a random forest algorithm4m 3s
-
(Locked)
How to run a support vector machine algorithm3m 11s
-
(Locked)
Understanding summary metrics2m 38s
-
(Locked)
How to decide which algorithm is best3m 56s
-
(Locked)
How to improve the chosen algorithm5m 59s
-
(Locked)
Challenge: Explore the chosen algorithm1m 36s
-
(Locked)
Solution: Explore the chosen algorithm4m 38s
-
(Locked)
-
-