Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Prune Regression Trees, Clearly Explained!!!
ChannelStatQuest with Josh StarmerChapters
Description from the creator
Pruning Regression Trees is one the most important ways we can prevent them from overfitting the Training Data. This video walks you through Cost Complexity Pruning, aka Weakest Link Pruning, step-by-step so that you can learn how it works and see it in action.
NOTE: This StatQuest assumes you already know about...
Regression Trees: youtu.be/g9c66TUylZ4
ALSO NOTE: This StatQuest is based on the Cost Complexity Pruning algorithm found on pages 307 to 309 of the Introduction to Statistical Learning in R: faculty.marshall.usc.edu/gareth-james/ISL/
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/jo…
...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
0:00 Awesome song and introduction
0:59 Motivation for pruning a tree
3:58 Calculating the sum of squared residuals for pruned trees
7:50 Comparing pruned trees with alpha.
11:17 Step 1: Use all of the data to build trees with different alphas
13:05 Step 2: Use cross validation to compare alphas
15:02 Step 3: Select the alpha that, on average, gives the best results
15:27 Step 4: Select the original tree that corresponds to that alpha
#statquest #regression #tree
NOTE: This StatQuest assumes you already know about...
Regression Trees: youtu.be/g9c66TUylZ4
ALSO NOTE: This StatQuest is based on the Cost Complexity Pruning algorithm found on pages 307 to 309 of the Introduction to Statistical Learning in R: faculty.marshall.usc.edu/gareth-james/ISL/
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/jo…
...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
0:00 Awesome song and introduction
0:59 Motivation for pruning a tree
3:58 Calculating the sum of squared residuals for pruned trees
7:50 Comparing pruned trees with alpha.
11:17 Step 1: Use all of the data to build trees with different alphas
13:05 Step 2: Use cross validation to compare alphas
15:02 Step 3: Select the alpha that, on average, gives the best results
15:27 Step 4: Select the original tree that corresponds to that alpha
#statquest #regression #tree
About this tutorial
StatQuest with Josh Starmer published this 16:15 video tutorial on December 6, 2019. It has been watched 311,729 times on YouTube.
- Channel
- StatQuest with Josh Starmer
- Category
- Education
- Duration
- 16:15
- Published
- December 6, 2019
- Views
- 311,729
- Likes
- 6,324
Tags
Share
This tutorial in other languages
- FRComment Pruneau régression des arbres, expliqué clairement !!!
- ESCómo podar los árboles de regresión, explicado claramente !!!
- PTComo Prune Regression Trees, claramente explicado !!!
- ITCome potare gli alberi di regressione, chiaramente spiegato !!!
- DEWie man Prune Regression Trees, deutlich erklärt !!!
- NLHoe te snoeien Regression Trees, duidelijk uitgelegd !!!
- RUКак черносливом регрессионного деревья, четко разъяснены !!!
- PLJak przycinać drzewa regresji, jasno wytłumaczone !!!
- JAどのようにプルーン回帰木に、明確に説明!!!
- ARكيفية تقليم الأشجار الانحدار، شرح واضح !!!
- HIकैसे छँटाई प्रतिगमन पेड़ को, स्पष्ट रूप से व्याख्या !!!
- IDCara Prune Regresi Pohon, Jelas Dijelaskan !!!