hfrick / 2022-nyr-workshop

Code and notes for the tidymodels workshop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2022-nyr-workshop

License: Attribution-NonCommercial-ShareAlike 4.0 International

This repository contains code and notes for the tidymodels workshop.

To get the packages, use:

install.packages(c("tidymodels", "shinymodels", "xgboost", "glmnet", "embed", "remotes"))

# For the data:
remotes::install_github("topepo/ongoal")

You should also have the RStudio IDE installed.

Slides

  • Introduction - why tidymodels? example data, tidyverse review.

  • Models - what is the model?, data splitting, basic R models, parsnip introduction, some broom.

  • Feature engineering - recipes introduction,

  • Resampling - why resample, cross-validation, fit_resamples(), shinymodels.

  • Model tuning - tuning parameters, grids, grid search, glmnet, boosting, parallel processing, test set evaluation.

About

Code and notes for the tidymodels workshop

License:Other


Languages

Language:HTML 82.3%Language:R 8.6%Language:CSS 5.5%Language:JavaScript 3.6%