Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Lasso Regression with Tidymodels and The Office

Julia Silge via YouTube

Overview

Implement lasso regularized regression modeling in R using tidymodels and #TidyTuesday data on episodes of The Office. Explore the process of building a dataset, separating rows, creating a workflow, and performing lasso fit with grid functions. Visualize error bars, analyze variable importance, and reorder variables for optimal results. Test the model and draw conclusions from this practical application of machine learning techniques to analyze popular TV show data.

Syllabus

Introduction
Getting the data
Building the dataset
Building the data set
Separate rows
Putting it all together
Show Legend
APIs
Test split
Update Role
Workflow
Lasso fit
Grid function
Grid metrics
Error bars
Visualization
Finalisation
Final lasso
Variable importance
Reordering variables
Rerendering
Testing
Conclusion

Taught by

Julia Silge

Reviews

Start your review of Lasso Regression with Tidymodels and The Office

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.