ISLR tidymodels labs
1 Introduction
This book aims to be a complement to the 2nd edition An Introduction to Statistical Learning book with translations of the labs into using the tidymodels set of packages.
The labs will be mirrored quite closely to stay true to the original material.
Edition Differences
All listed changes will be relative to the 1st edition.
- Naive Bayes has been added to chapter 4 on Classification
- Poisson Regression has been added to chapter 4 on Classification
- “Application to Caravan Insurance Data” section is no longer treated as its own section and is now part of the K-Nearest Neighbors section
- Bayesian Additive Regression Trees has been added to chapter 8 on Tree-Based Methods
- chapter on Unsupervised Learning has been renumbered to chapter 12 instead of 10
- Matrix Completion has been added to chapter 12 on Unsupervised Learning
- chapter on Deep learning has been added as chapter 10
- chapter on Survival Analysis and Censored Data as been added as chapter 11
- chapter on Multiple Testing as been added as chapter 13
Colophon
This book was written in RStudio using Quarto. The website is hosted via GitHub Pages, and the complete source is available on GitHub.
This version of the book was built with R version 4.3.1 (2023-06-16) and Quarto version 1.4.104 and the following packages:
package | version | source |
---|---|---|
broom | 1.0.5 | CRAN (R 4.3.0) |
corrr | 0.4.4 | CRAN (R 4.3.0) |
dials | 1.2.0 | CRAN (R 4.3.0) |
discrim | 1.0.1 | CRAN (R 4.3.0) |
downlit | 0.4.3 | CRAN (R 4.3.0) |
dplyr | 1.1.3 | CRAN (R 4.3.0) |
factoextra | 1.0.7 | CRAN (R 4.3.0) |
ggplot2 | 3.4.3 | CRAN (R 4.3.0) |
glmnet | 4.1-8 | CRAN (R 4.3.0) |
infer | 1.0.5 | CRAN (R 4.3.0) |
ISLR | 1.4 | CRAN (R 4.3.0) |
ISLR2 | 1.3-2 | CRAN (R 4.3.0) |
kernlab | 0.9-32 | CRAN (R 4.3.0) |
kknn | 1.3.1 | CRAN (R 4.3.0) |
klaR | 1.7-2 | CRAN (R 4.3.0) |
MASS | 7.3-60 | CRAN (R 4.3.0) |
mclust | 6.0.0 | CRAN (R 4.3.0) |
mixOmics | 6.24.0 | bioc_xgit (@e8cf785f5d4c9fd3691ed3ec8bd81c6f3d966bb3) |
modeldata | 1.2.0 | CRAN (R 4.3.0) |
paletteer | 1.5.0 | CRAN (R 4.3.0) |
parsnip | 1.1.1 | CRAN (R 4.3.0) |
patchwork | 1.1.3 | CRAN (R 4.3.0) |
poissonreg | 1.0.1 | CRAN (R 4.3.0) |
proxy | 0.4-27 | CRAN (R 4.3.0) |
purrr | 1.0.2 | CRAN (R 4.3.0) |
randomForest | 4.7-1.1 | CRAN (R 4.3.0) |
readr | 2.1.4 | CRAN (R 4.3.0) |
recipes | 1.0.8 | CRAN (R 4.3.0) |
rpart | 4.1.19 | CRAN (R 4.3.0) |
rpart.plot | 3.1.1 | CRAN (R 4.3.0) |
rsample | 1.2.0 | CRAN (R 4.3.0) |
scico | 1.5.0 | CRAN (R 4.3.0) |
tibble | 3.2.1 | CRAN (R 4.3.0) |
tidyclust | 0.1.2 | CRAN (R 4.3.0) |
tidymodels | 1.1.1 | CRAN (R 4.3.0) |
tidyr | 1.3.0 | CRAN (R 4.3.0) |
tune | 1.1.2 | CRAN (R 4.3.0) |
vip | 0.4.1 | CRAN (R 4.3.0) |
workflows | 1.1.3 | CRAN (R 4.3.0) |
workflowsets | 1.0.1 | CRAN (R 4.3.0) |
xgboost | 1.7.5.1 | CRAN (R 4.3.0) |
yardstick | 1.2.0 | CRAN (R 4.3.0) |