All Projects → JWarmenhoven → Islr Python

JWarmenhoven / Islr Python

Licence: mit
An Introduction to Statistical Learning (James, Witten, Hastie, Tibshirani, 2013): Python code

Programming Languages

Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to Islr Python

Mlj.jl
A Julia machine learning framework
Stars: ✭ 982 (-70.63%)
Mutual labels:  jupyter-notebook, predictive-modeling
Pyncov 19
Pyncov-19: Learn and predict the spread of COVID-19
Stars: ✭ 20 (-99.4%)
Mutual labels:  jupyter-notebook, predictive-modeling
Pytorch Cortexnet
PyTorch implementation of the CortexNet predictive model
Stars: ✭ 349 (-89.56%)
Mutual labels:  jupyter-notebook, predictive-modeling
Smt
Surrogate Modeling Toolbox
Stars: ✭ 233 (-93.03%)
Mutual labels:  jupyter-notebook, predictive-modeling
Statistical Learning Method
《统计学习方法》笔记-基于Python算法实现
Stars: ✭ 1,643 (-50.87%)
Mutual labels:  jupyter-notebook, statistical-learning
Endtoend Predictive Modeling Using Python
Stars: ✭ 56 (-98.33%)
Mutual labels:  jupyter-notebook, predictive-modeling
Coursera Machine Learning
Coursera Machine Learning - Python code
Stars: ✭ 815 (-75.63%)
Mutual labels:  jupyter-notebook, predictive-modeling
An Introduction To Statistical Learning
This repository contains the exercises and its solution contained in the book "An Introduction to Statistical Learning" in python.
Stars: ✭ 1,843 (-44.89%)
Mutual labels:  jupyter-notebook, statistical-learning
Data Science Wg
SF Brigade's Data Science Working Group.
Stars: ✭ 135 (-95.96%)
Mutual labels:  jupyter-notebook, predictive-modeling
Statistical-Learning-using-R
This is a Statistical Learning application which will consist of various Machine Learning algorithms and their implementation in R done by me and their in depth interpretation.Documents and reports related to the below mentioned techniques can be found on my Rpubs profile.
Stars: ✭ 27 (-99.19%)
Mutual labels:  statistical-learning, predictive-modeling
Gophernotes
The Go kernel for Jupyter notebooks and nteract.
Stars: ✭ 3,100 (-7.3%)
Mutual labels:  jupyter-notebook
Cutblur
Rethinking Data Augmentation for Image Super-resolution (CVPR 2020)
Stars: ✭ 269 (-91.96%)
Mutual labels:  jupyter-notebook
Fba matting
Official repository for the paper F, B, Alpha Matting
Stars: ✭ 272 (-91.87%)
Mutual labels:  jupyter-notebook
Data Science Is Software
Stars: ✭ 272 (-91.87%)
Mutual labels:  jupyter-notebook
Deep Learning
No description, website, or topics provided.
Stars: ✭ 3,058 (-8.55%)
Mutual labels:  jupyter-notebook
Rad
RAD: Reinforcement Learning with Augmented Data
Stars: ✭ 268 (-91.99%)
Mutual labels:  jupyter-notebook
Pytorch Kaggle Starter
Pytorch starter kit for Kaggle competitions
Stars: ✭ 268 (-91.99%)
Mutual labels:  jupyter-notebook
Graph nn
Graph Classification with Graph Convolutional Networks in PyTorch (NeurIPS 2018 Workshop)
Stars: ✭ 268 (-91.99%)
Mutual labels:  jupyter-notebook
Noah Research
Noah Research
Stars: ✭ 265 (-92.08%)
Mutual labels:  jupyter-notebook
Aws Deepcomposer Samples
Stars: ✭ 273 (-91.84%)
Mutual labels:  jupyter-notebook

ISLR-python

This repository contains Python code for a selection of tables, figures and LAB sections from the first edition of the book 'An Introduction to Statistical Learning with Applications in R' by James, Witten, Hastie, Tibshirani (2013).

For Bayesian data analysis using PyMC3, take a look at this repository.

2018-01-15:
Minor updates to the repository due to changes/deprecations in several packages. The notebooks have been tested with these package versions. Thanks @lincolnfrias and @telescopeuser.

2016-08-30:
Chapter 6: I included Ridge/Lasso regression code using the new python-glmnet library. This is a python wrapper for the Fortran library used in the R package glmnet.

Chapter 3 - Linear Regression
Chapter 4 - Classification
Chapter 5 - Resampling Methods
Chapter 6 - Linear Model Selection and Regularization
Chapter 7 - Moving Beyond Linearity
Chapter 8 - Tree-Based Methods
Chapter 9 - Support Vector Machines
Chapter 10 - Unsupervised Learning

Extra: Misclassification rate simulation - SVM and Logistic Regression

This great book gives a thorough introduction to the field of Statistical/Machine Learning. The book is available for download (see link below), but I think this is one of those books that is definitely worth buying. The book contains sections with applications in R based on public datasets available for download or which are part of the R-package ISLR. Furthermore, there is a Stanford University online course based on this book and taught by the authors (See course catalogue for current schedule).

Since Python is my language of choice for data analysis, I decided to try and do some of the calculations and plots in Jupyter Notebooks using:

  • pandas
  • numpy
  • scipy
  • scikit-learn
  • python-glmnet
  • statsmodels
  • patsy
  • matplotlib
  • seaborn

It was a good way to learn more about Machine Learning in Python by creating these notebooks. I created some of the figures/tables of the chapters and worked through some LAB sections. At certain points I realize that it may look like I tried too hard to make the output identical to the tables and R-plots in the book. But I did this to explore some details of the libraries mentioned above (mostly matplotlib and seaborn). Note that this repository is not a standalone tutorial and that you probably should have a copy of the book to follow along. Suggestions for improvement and help with unsolved issues are welcome! See Hastie et al. (2009) for an advanced treatment of these topics.

References:

James, G., Witten, D., Hastie, T., Tibshirani, R. (2013). An Introduction to Statistical Learning with Applications in R, Springer Science+Business Media, New York. https://www.statlearning.com/

Hastie, T., Tibshirani, R., Friedman, J. (2009). Elements of Statistical Learning, Second Edition, Springer Science+Business Media, New York. http://statweb.stanford.edu/~tibs/ElemStatLearn/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].