Skip to main content

Library for ISLP labs

Project description

# ISLP

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

## Install instructions

### Mac OS X / Linux

We generally recommend creating a [conda](https://anaconda.org) environment to isolate any code from other dependencies. The ISLP package does not have unusual dependencies, but this is still good practice. To create a conda environment in a Mac OS X or Linux environment run:

`{python} conda create --name islp `

To run python code in this environment, you must activate it:

`{python} conda activate islp `

### Windows

On windows, create a Python environment called islp in the Anaconda app. This can be done by selecting Environments on the left hand side of the app’s screen. After creating the environment, open a terminal within that environment by clicking on the “Play” button.

## Installing ISLP

Having completed the steps above, we use pip to install the ISLP package:

`{python} pip install ISLP `

### Torch requirements

The ISLP labs use torch and various related packages for the lab on deep learning. The requirements can be found [here](torch_requirements.txt). Alternatively, you can install them directly using pip within a terminal. As above, ensure that you have activated that conda environment (Mac OS or Linux) or started a terminal within that environment from the Anaconda app (Windows).

`{python} pip install -r https://raw.githubusercontent.com/intro-stat-learning/ISLP/main/torch_requirements.txt `

## Jupyter

### Mac OS X

If JupyterLab is not already installed, run the following after having activated your islp environment:

`{python} pip install jupyterlab `

### Windows

Either use the same pip command above or install JupyterLab from the Home tab. Ensure that the environment is your islp environment. This information appears near the top left in the Anaconda Home page.

## Documentation

See the [read the docs page](https://islp.readthedocs.io/en/latest) for the latest documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ISLP-0.3.18.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

ISLP-0.3.18-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

Details for the file ISLP-0.3.18.tar.gz.

File metadata

  • Download URL: ISLP-0.3.18.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for ISLP-0.3.18.tar.gz
Algorithm Hash digest
SHA256 ada736dbad189e7d4309a0d064cbd976bc4b413816edfce6ec0ef50b73e9813b
MD5 78486e89c95d21024f9f0ea8ae16e128
BLAKE2b-256 5888be93d1402245fe6158d5901419b4cc342a2ec237127f7ca716b6395a5df1

See more details on using hashes here.

File details

Details for the file ISLP-0.3.18-py3-none-any.whl.

File metadata

  • Download URL: ISLP-0.3.18-py3-none-any.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for ISLP-0.3.18-py3-none-any.whl
Algorithm Hash digest
SHA256 608d65442c302118adcd103b6807ff62d85bdb78ce78f95844e52861eeed250b
MD5 b1f46b23db57377f4cc7efce6de167e5
BLAKE2b-256 92ab70e3ec3b14c86354eb834abed9ecd5d49fd219dd1c1c127a62a101aec9f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page