library(tidyverse)
library(tidymodels)
library(gghighlight)
library(knitr)
AE 5: The Office
Packages
Load data
<- read_csv("data/office_ratings.csv") office_ratings
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.