mfarme / ISLP

ISLP package: data and code for labs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

ISLP package: data and code for labs


Languages

Language:Python 100.0%