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

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 `

### Mac OS X

Running in the desired environment, we use pip to install the ISLP package:

`{python} pip install ISLP `

### Windows

See the [python packaging instructions](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 or IPython.

Alternatively, within a python shell in the environment you want to install ISLP, the following commands should install ISLP:

`{python} 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](torch_requirements.txt). Alternatively, you can install them directly using pip

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

## Documentation

See the [read the docs page](https://islp.readthedocs.io/en/latest/models.html) 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.15.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ISLP-0.3.15.tar.gz
Algorithm Hash digest
SHA256 52cfc6fe8132786c7e9f0aa22aed946be421d438ea6b008ce8b5a785cc37f8dd
MD5 c344a85b7a552e224660c24e809df7e0
BLAKE2b-256 84bcaf6b215c5d8f0f0a7ab72b7249f4b6b7dc1505bd233cf436aa9e97052653

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ISLP-0.3.15-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.9.13

File hashes

Hashes for ISLP-0.3.15-py3-none-any.whl
Algorithm Hash digest
SHA256 8da103a0cb41b6d73ec9c72b6fc47cb14d2cf0d77701b4fdb820cc0750928ec0
MD5 9fcc8ee5439131736f83aa62a1f2dc24
BLAKE2b-256 dd65fa34caca71082093f3ddf866abfafcb6729cf03d5832f067f3b8abca5601

See more details on using hashes here.

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