Congratulations!

Modeling with tidymodels in R

David Svancer

Data Scientist

The tidymodels ecosystem

Visualization of the tidymodels packages

Modeling with tidymodels in R

Regression modeling

Specifying models with parsnip

 

parsnip engines

Training and evaluating linear regression models

R squared plot on fuel efficiency dataset

Modeling with tidymodels in R

Classification modeling

Logistic regression with logistic_reg()

 

Logistic regression decision boundary plot on lead scoring data

Evaluating classification performance with confusion matrices and ROC curves

ROC curve for lead scoring dataset

Modeling with tidymodels in R

Feature engineering

Feature engineering with the recipes package workflow diagram

Modeling with tidymodels in R

Fine tuning models with cross validation

Model performance profiles with cross validation and fit_resamples()

 

  • Hyperparameter tuning with grid search
  • Finalizing model workflows

 

cost_complexity tree_depth min_n
0.001 20 35
0.001 20 15
0.001 35 35
0.001 35 15
0.2 20 35
... ... ...
Modeling with tidymodels in R

Thank you!

Modeling with tidymodels in R

Preparing Video For Download...