This package collects data sets and various helper functions for ISLP.
-
Jonathan Taylor
-
Gareth James
-
Daniela Witten
-
Trevor Hastie
-
Rob Tibshirani
pip install ISLP
See the https://packaging.python.org/en/latest/tutorials/installing-packages/#ensure-you-can-run-pip-from-the-command-line for a simple way to run pip
within
Jupyter.
Alternatively, within a python shell, the following commands should install ISLP
:
import os, sys
cmd = f'{sys.executable} -m pip install ISLP'
os.system(cmd)
The ISLP
labs use torch
and various related packages for the lab on deep learning. The requirements
can be found here. Alternatively, you can install them directly using pip
reqs = 'https://raw.githubusercontent.com/jonathan-taylor/ISLP/master/requirements.txt'
cmd = f'{sys.executable} -m pip install -r {reqs}'
os.system(cmd)
See the read the docs