Need help with the-elements-of-statistical-learning-notebooks?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

253 Stars 122 Forks 119 Commits 1 Opened issues


Jupyter notebooks for summarizing and reproducing the textbook "The Elements of Statistical Learning" 2/E by Hastie, Tibshirani, and Friedman

Services available


Need anything else?

Contributors list

# 82,457
119 commits


Jupyter Notebooks for the Elements of Statistical Learning (WIP)

It aims to summarize and reproduce the textbook "The Elements of Statistical Learning" 2/E by Hastie, Tibshirani, and Friedman.

Currently working the early chapters, I try to implement without frameworks like scikit-learn for showing the algorithms that the textbook introduces to me.

Also starting with the neural networks, I decided to use PyTorch_ which seems less magical (They say that

with GPU support).

.. _PyTorch: //


Use your favorite virtualenv system and install the below dependencies; quite standard ones.

  • numpy
  • scipy
  • matplotlib
  • pandas
  • jupyter
  • pytorch
  • scikit-learn (optional, used in my own articles)

.. code-block:: bash

(esl) $ pip install ipython numpy scipy matplotlib pandas jupyter

# The command below installs pytorch for Python 3.6 without CUDA support. # For other settings, consult with (esl) $ pip install


Just run

jupyter notebook

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.