class: title-slide, center <span class="fa-stack fa-4x"> <i class="fa fa-circle fa-stack-2x" style="color: #ffffff;"></i> <strong class="fa-stack-1x" style="color:#E7553C;">3</strong> </span> # Resampling ## Introduction to Machine Learning in the Tidyverse ### Alison Hill · Garrett Grolemund #### [https://conf20-intro-ml.netlify.com/](https://conf20-intro-ml.netlify.com/) · [https://rstd.io/conf20-intro-ml](https://rstd.io/conf20-intro-ml) --- exclude: true --- background-image: url(images/unicorns-rainbows/joshua-hoehne-wnHeb_pRJBo-unsplash.jpg) background-size: cover --- background-image: url(images/unicorns-rainbows/unicorns.001.jpeg) background-size: cover --- background-image: url(images/unicorns-rainbows/unicorns.002.jpeg) background-size: cover --- background-image: url(images/unicorns-rainbows/unicorns.003.jpeg) background-size: cover --- background-image: url(images/unicorns-rainbows/unicorns.004.jpeg) background-size: cover --- background-image: url(images/unicorns-rainbows/unicorns.005.jpeg) background-size: cover --- class: frame, middle, center # Hypothesis As the number of 🦄 increases, so does the number of 🌈. --- <img src="03-Resampling/pop-plot-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-2-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-3-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-4-1.png" width="1440" style="display: block; margin: auto;" /> --- class: inverse, middle, center # The Challenge --- <img src="03-Resampling/unnamed-chunk-5-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-6-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-7-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-8-1.png" width="1440" style="display: block; margin: auto;" /> --- class: middle, center, frame # The Solution Random Sampling --- <img src="03-Resampling/unnamed-chunk-10-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-11-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-12-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-13-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-14-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-15-1.png" width="1440" style="display: block; margin: auto;" /> --- class: middle, center, frame # The New Challenge Sample Variation --- <img src="03-Resampling/unnamed-chunk-16-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-17-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-18-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-19-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-20-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-21-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-22-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-23-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-24-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-25-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-26-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-27-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-28-1.png" width="1440" style="display: block; margin: auto;" /> --- class: middle, center, frame # The good news You don't have to collect more data. You don't have to sacrifice fit for flexibility. --- <img src="03-Resampling/unnamed-chunk-29-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-30-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-31-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-32-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-33-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-34-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-35-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-36-1.png" width="1440" style="display: block; margin: auto;" /> --- class: middle <img src="03-Resampling/unnamed-chunk-37-1.png" width="48%" /><img src="03-Resampling/unnamed-chunk-37-2.png" width="48%" /> --- class: middle <img src="03-Resampling/unnamed-chunk-38-1.png" width="48%" /><img src="03-Resampling/unnamed-chunk-38-2.png" width="48%" /> --- <img src="03-Resampling/unnamed-chunk-39-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-40-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-41-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-42-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-43-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-44-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-45-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-46-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-47-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-48-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-49-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-50-1.png" width="1440" style="display: block; margin: auto;" /> --- <img src="03-Resampling/unnamed-chunk-51-1.png" width="1440" style="display: block; margin: auto;" />