intro-stat-learning/ISLP_labs

Up-to-date version of labs for ISLP

What it solves

This project provides an up-to-date collection of Jupyter Notebook labs designed to accompany the textbook An Introduction to Statistical Learning (ISLP). It ensures that readers have a reliable, reproducible environment to run the statistical learning code examples provided in the book.

How it works

The repository offers a dedicated setup script that automates the creation of a Python virtual environment using uv. This script downloads the specific version of the labs you need, installs all necessary dependencies, and prepares the environment so you can run the notebooks in Jupyter Lab without configuration errors.

Who it’s for

This is for students, researchers, and data science practitioners who are working through the An Introduction to Statistical Learning textbook and need a functional, version-controlled environment to execute the associated lab exercises.

Highlights

  • Automated environment setup via a dedicated Python script.
  • Uses uv for fast and reliable dependency management.
  • Tracks the latest versions of lab code as the source material evolves.
  • Supports reproducibility by allowing users to check out specific versions of the labs.
  • Includes a Makefile utility to generate R Markdown files from the existing Jupyter notebooks.

Related

  • Project
  • Project
  • Project
  • Project