This week, Ellis Hughes and I start exploring classification algorithms in {tidymodels}. We set up a logistic regression using NHL data to forecast whether a team will make the playoffs or not. Like all of our {tidymodels} episodes, we discuss:
- Initializing the model
- Splitting the data into training and test sets
- Creating cross-validation folds of the training data
- Setting up a model recipe
- Creating a model workflow
- Building and evaluating the model on the cross validation folds
- Fitting the model to the test data
- Evaluating the model predictions
To view our screen cast, CLICK HERE.
To access our code, CLICK HERE.
Also, if you enjoy our screen casts and find the useful, we have created a patreon page.