tidy animations

Showing how the concepts actually move

Self-contained animated explainers for tidymodels concepts, built with Quarto RevealJS + anime.js. Each concept is its own deck — embedded below, and openable on its own. Use the arrow keys (or the on-slide controls) inside a deck to step through its animation.

Splitting & resampling

Carving data into train / validation / test sets, and the resampling schemes built on top of them.

Initial train/test split

Train/validation/test split

Time-based resampling

Time-based train/validation/test split

Cross-validation

Bootstrap resampling

Feature engineering

Transforming predictors before they reach the model.

Recipe pipeline

SMOTE

Borderline-SMOTE1

Borderline-SMOTE2

ADASYN

Orbital codegen

Orbital: flat to nested case_when

Orbital: separate trees

Visualization (ggplot2)

Watching plotting code come apart layer by layer.

ggplot2, deconstructed

ggplot2, deconstructed (variant)

ggplot2, deconstructed (mobile)

Data wrangling (dplyr)

How row-wise verbs reshape a data frame.

filter() a data frame

filter() on two columns