This repo use Python to re-produce the lab results from the book Introduction to Statistical Learning with Application in R wittern by James, Witten, Hastie and Tibshirani.
It also includes the exercise solutions in Python3
- Logistic Regerssion
- Linear Discrimnant Analysis
- Quadratic Discrimnant Analysis
- KNN
- Cross Validation
- Bootstrap
- Best subset selection
- Cross Valiation
- Ridge/Lasso Regression
- Principal Components Rregression
- Partial Least Squares
- Polynomial Regression and Step Function
- Splines
- GAMs
- Decision Trees
- Bagging and Random Forests
- Boosting
- Support Vector Classifier
- Support Vectir Machine
- SVM with Multiple Classes
- PCA
- Cluster Methods
___
References:
- https://github.com/JWarmenhoven/ISLR-python
- http://www.science.smith.edu/~jcrouser/SDS293/labs/2016/lab8/Lab%208%20-%20Subset%20Selection%20in%20Python.pdf
- https://xavierbourretsicotte.github.io/subset_selection.html#Subset-selection-in-python
- https://jss367.github.io/Exploring-Decision-Trees-in-Python.html#decision-trees-for-classification
- contour plot reference http://www.adeveloperdiary.com/data-science/how-to-visualize-gradient-descent-using-contour-plot-in-python/