AE 5: The Office

Important

Go to the course GitHub organization and locate the repo titled ae-5-the-office-YOUR_GITHUB_USERNAME to get started.

Packages

library(tidyverse)
library(tidymodels)
library(gghighlight)
library(knitr)

Load data

office_ratings <- read_csv("data/office_ratings.csv")
Rows: 188 Columns: 6
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr  (1): title
dbl  (4): season, episode, imdb_rating, total_votes
date (1): air_date

ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.

Exploratory data analysis

Recreate at least one of the exploratory visualizations from class.

Test/train split

Split your data into testing and training sets.

Build a recipe

Build the recipe from class.


Time permitting…

Workflows and model fitting

Build the modeling workflow and fit the model to the training data after feature engineering with the recipe.