• Stars
    star
    103
  • Rank 333,046 (Top 7 %)
  • Language
    Jupyter Notebook
  • Created over 8 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Exercises from 'Introduction to Statistical Learning with Applications in R' written in Python.

ISLR -- Python: Labs and Applied

Python code for Labs and Applied questions from the book: 'Introduction to Statistical Learning with Applications in R' by James, Witten, Hastie and Tibshirani (2013).


This well-written book provides an excellent introduction to statistical learning methods. The algorithms and datasets used in the book are written in R. Since I use python for data analysis, I decided to rewrite the labs and answer the applied questions using python and the following packages:

Numpy
Scipy
Pandas
Scikit-learn
Statsmodels
Patsy
Matplotlib

I have also converted the R datasets into csv files. These can be found in the data directory.

The code for each lab or applied question is written in a Jupyter notebook. For the applied questions, there is no guarantee that the solutions are correct. Suggestions and corrections are always welcome.

Chapters