Skip to main content

Testing a fixed value of lambda

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.17.tar.gz (3.6 MB view hashes)

Uploaded Source

Built Distribution

ISLP-0.3.17-py3-none-any.whl (3.6 MB view hashes)

Uploaded Python 3

Supported by

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