Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.11 KB

README.md

File metadata and controls

55 lines (33 loc) · 1.11 KB

ISLP

This package collects data sets and various helper functions for ISLP.

Authors

  • Jonathan Taylor

  • Gareth James

  • Daniela Witten

  • Trevor Hastie

  • Rob Tibshirani

Install instructions

Mac OS X

pip install ISLP

Windows

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)

Torch requirements

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)

Documentation

See the read the docs