Category Archives: TidyX Screen Cast

TidyX 88: Advent of Code Day 7 – Loops & Lookups

Continuing from last week, Ellis Hughes and I step through a solution for Advent of Code Day 7. This week’s code puzzle has us trying to solve a method for finding a minimum value in a string of numbers created by some simple mathematical operations.

The task requires us to use some for() loops and build a lookup table for identifying values.

To watch our screen cast, CLICK HERE.

To access our code, CLICK HERE.

TidyX 87: Advent of Code – Laternfish

This week, Ellis Hughes and I decide to try our hand at some of the coding challenges put on by the annual Advent of Code event.

For those that don’t know, Advent of Code is a fun, holiday event, where the founder, Eric Wastl, creates 25 straight days of puzzles and brain teasers to be solved via code. The event is coding language agnostic (some use R, some use Python, some use other languages) and is a lot of fun. If you search on Twitter you will find a large number of people sharing solutions and ideas.

This week, we go over code to solve the Day 6 puzzle about laternfish.

To watch our screen cast, CLICK HERE.

To access our code, CLICK HERE.

TidyX 86: Tidymodels Interview with Julia Silge

Ellis Hughes and I have just completed 9 straight episodes on building a machine learning framework with {tidymodels}. What better way to wrap up this series than with our tenth episode being an interview with none other than, Julia Silge!

Julia is one of the main developers of the {tidymodels} package and continues to be a great ambassador of all things R, educating people along the way with her weekly screen casts.

In this episode we:

  1. Discuss Julia’s background and how she got into working for R studio.
  2. We walk through one of her blog posts on using racing methods to tune XGBoost models.
  3. As we walk through the blog post we discuss some of the functionality of {tidymodels} and learn a bit about Julia’s approach to working on data science projects.
  4. Finally, we wrap up with Julia offering some pearls of wisdom to those looking to get into the field.

To watch our interview with Julia Silge, CLICK HERE.

TidyX 84: Workflowsets in tidymodels

We’ve been working on developing machine learning models using {tidymodels} over the past several weeks. Sometimes, though, you need to build a variety of models on your data. This week, Ellis Hughes and I explore {workflowsets}.

Workflow sets allow you to set specific recipes for different model types and then run a variety of models simultaneously. Topics we cover:

  • Setting up recipes
  • Specifying multiple models
  • Creating a workflowset
  • Fitting all models within the workflowset
  • Choosing the optimal model
  • Two different approaches to fitting the optimal model on your test data set

To watch our screen cast, CLICK HERE.

To access the code and data (courtesy of kaggle), CLICK HERE.

If you like what we are doing and would like to buy us a coffee or beer, visit our Patreon page HERE.