Weighting Confusion Matrices by Outcomes and Observations 2020-12-08 Weighting in predictive modeling may take multiple forms and occur at different steps in the model building process. […] The focus of this post is on the last stage1. I will describe two types … ggplot dplyr rsample parsnip probably yardstick devtools purrr knitr tidyr
Undersampling Will Change the Base Rates of Your Model's Predictions 2020-11-23 TLDR: In classification problems, under and over sampling1 techniques shift the distribution of predicted probabilities towards the minority class. If your problem requires accurate probabilities you … ggplot dplyr purrr tidyr knitr modelr yardstick
Riddler Solutions: Pedestrian Puzzles 2020-03-04 This post contains solutions to FiveThirtyEight’s two riddles released 2020-02-14, Riddler Express and Riddler Classic. I created a toy package animatrixr to help with some of the visualizations and … tidyr dplyr animatrixr knitr ggplot ggforce purrr forcats
Visualizing Matrix Transformations 2020-02-20 I highly recommend the fantastic video series Essence of Linear Algebra by Grant Sanderson. In this post I’ll walk through how you can use gganimate and the tidyverse to (very loosely) recreate some … dplyr tidyr ggplot ggforce purrr knitr gganimate
Riddler Solutions: Palindrome Dates & Ambiguous Absolute Value Bars 2020-02-13 This post contains solutions to FiveThirtyEight’s two riddles released 2020-02-07, Riddler Express and Riddler Classic. Code for figures and solutions can be found on my github page. […] The … dplyr lubridate stringi knitr purrr stringr tidyr ggplot