Skip to content

qx0731/Sharing_ISL_python

Repository files navigation

ISL_python

An Introduction to Statistical Learning with Applications in PYTHON

I love the book << An Introduction to Statistical Learning with Applications in R>> by Gareth James • Daniela Witten • Trevor Hastie and Robert Tibshirani. This book has been super helpful for me.

In this repository, I have implemented the same/similar functionality in Python. The code is in a script format to show the thought process. Hope this could help this book reach more broad audience. Don't let the language barriers stop you from exploring something fun and useful.

Please refer https://www.statlearning.com/ for more details. In 2nd Edition, the authors introduced a R library ISLR2 for all the dataset used in the book.

Setup for this repository:

  • Python==3.6.2
  • ipykernal==4.10.0
  • numpy==1.19.2
  • matplotlib==3.3.4
  • pandas==1.1.5
  • statsmodels==0.12.2
  • scikit-learn==0.21.1
  • patsy==0.5.1
  • scipy==1.5.2
  • seaborn==0.11.2
  • json==2.0.9
  • tensorflow==2.0.0
  • keras==2.3.1
  • lifelines==0.26.3
  • math
  • random
  • collections
  • itertools

Special thanks to Bommy

           __
      (___()'`;  
      /,    /`
      \\"--\\

Reference: https://www.asciiart.eu/animals/dogs