Skip to content

beatrice93/islr-python

Repository files navigation

Labs from ISLR, but for Python

This repository contains Python code for the labs from Introduction to Statistical Learning with Applications in R by James, Witten, Hastie and Tibshirani (book page here). You might find this useful if you're planning to get into statistical learning with Python.

Any toy dataset that isn't shipped with sklearn or statmodels and part of the ISLR package will (hopefully) be converted to .csv and made avalable in the 'data' folder. Source here.

I tried to reproduce as much as possible the steps in the labs, and to comment the code; you should definitely have the book to follow along. Note as well that although the book doesn't assume any prior knowledge of R, these notebooks are not an introduction to python; you should have some working knowledge of pandas and matplotlib, among other things. I tried to keep things beginner-friendly, though.

Packages used:

  • sklearn and statsmodels for statistical learning
  • matplotlib and seaborn for visualization
  • pandas for data processing

Have fun.

About

Labs from ISLR, adapted for Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published