Skip to main content

# 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.

Release files for ISLP 0.3.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ISLP 0.3.18
File Size Uploaded
ISLP-0.3.18.tar.gz 3.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ISLP 0.3.18
File Interpreter ABI Platform
ISLP-0.3.18-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 MB

Release files / ISLP-0.3.18.tar.gz

Download URL ISLP-0.3.18.tar.gz
Size 3.6 MB
Tags Source
SHA-256 checksum
How to use checksums
ada736dbad189e7d4309a0d064cbd976bc4b413816edfce6ec0ef50b73e9813b
BLAKE2b-256 checksum
How to use checksums
5888be93d1402245fe6158d5901419b4cc342a2ec237127f7ca716b6395a5df1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / ISLP-0.3.18-py3-none-any.whl

Download URL ISLP-0.3.18-py3-none-any.whl
Size 3.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
608d65442c302118adcd103b6807ff62d85bdb78ce78f95844e52861eeed250b
BLAKE2b-256 checksum
How to use checksums
92ab70e3ec3b14c86354eb834abed9ecd5d49fd219dd1c1c127a62a101aec9f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

0.4.1

2 release files

0.4.0

2 release files

0.3.22

1 release file

0.3.21

2 release files

0.3.19

2 release files

This release

0.3.18 This release

2 release files

0.3.17

2 release files

0.3.16

2 release files

0.3.15

2 release files

0.3.14

2 release files

0.3.13

2 release files

0.3.12

2 release files

0.3.11

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

1 release file

0.3.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page