Resources
ISL with R, 2nd Edition
A Note About the Chapter 10 Lab
The original Chapter 10 lab made use of keras, an R package for deep learning that relies on Python. Getting keras to work on your computer can be a bit of a challenge. Installation instructions are available here.
RStudio has recently released a new R package for deep learning, called torch, that does not require a Python installation. Daniel Falbel and Sigrid Keydana, two of the torch developers, translated our keras version of the Chapter 10 lab to torch. Many thanks to Daniel and Sigrid for this contribution. Please note that the torch version is a fair bit slower than the keras version.
Both the keras and torch versions of the Chapter 10 lab can be found below.
.R Files
Chapter 10 .R File (Keras Version)
Chapter 10 .R File (Torch Version)
All .R Files as a single .zip file
Rmarkdown Files
Chapter 2 .Rmd File .html File
Chapter 3 .Rmd File .html File
Chapter 4 .Rmd File .html File
Chapter 5 .Rmd File .html File
Chapter 6 .Rmd File .html File
Chapter 7 .Rmd File .html File
Chapter 8 .Rmd File .html File
Chapter 9 .Rmd File .html File
Chapter 10 .Rmd File .html File (Keras Version)
Chapter 10 .Rmd File .html File (Torch Version)
Chapter 11 .Rmd File .html File
Chapter 12 .Rmd File .html File
Chapter 13 .Rmd File .html File
All Rmarkdown Files as a single .zip file
All html files as a single .zip file
Jupyter Notebook Files
Chapter 10 .ipynb File (Keras Version)
Chapter 10 .ipynb File (Torch Version)
All Jupyter Notebook Files as a single .zip file
Slides
Slides were prepared by the authors. Source code for the slides is not currently available. All rights reserved. The materials provided here can be used (and modified) for non-profit educational purposes.
All slides as a single .zip file
Data Sets
Figures
Download zip files containing the figures for Chapters 1-6 and Chapters 7-13 . You are welcome to use these figures in your teaching or presentations, provided that you cite the textbook.
Get the R package.