This repository is my personal companion to the book An Introduction to Statistical Learning (ISL), where I take structured notes, replicate labs, and solve the end-of-chapter exercises using both Python and R.
The repo is organized into two main directories:
- Contains notes, labs, and exercise solutions for each chapter implemented in Python
- Follows the structure of the ISLP (Introduction to Statistical Learning with Python) adaptation of the book
- Utilizes libraries such as
pandas,numpy,matplotlib,seaborn,scikit-learn, andstatsmodels
- Contains notes, labs, and exercise solutions for each chapter implemented in R
- Closely follows the original code and methods from the ISLR (Introduction to Statistical Learning with R) edition
- Uses R packages such as
ISLR,ggplot2,caret,MASS, and base R functions
- Build a strong foundational understanding of statistical learning concepts
- Compare and practice implementing models in both R and Python
- Maintain a clear and reusable reference for revision and future projects
Each folder inside islp/ and islr/ is named after a corresponding chapter in the book. Inside each chapter folder, youβll typically find:
- π
notes.mdβ Conceptual summaries - π»
lab.ipynb/lab.Rβ Code from the chapter labs - π
exercises.ipynb/exercises.Rβ Solutions to end-of-chapter exercises
This is a living repository that I update as I progress through the book. Contributions, feedback, or suggestions are welcome!