Skip to content

UW-CTRL/lmc-exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lmc-exercises

This repository contains the exercises and Jupyter notebook demos that accompany the LMC book.

As the course progresses, the notebooks (exercises for homework and any demo presented in class) will be posted here.

Contents

  • exercises: This folder will contain notebooks where you need to fill in some code and run cells.
  • demos: This folder will contain notebooks of some demo code used in class, or notebooks where you can just run and analyze the outputs more closely.

Requirements

  • Python 3.10 or newer (see pyproject.toml for the declared minimum).

Setup

Create a virtual environment and install dependencies from the repository root:

python -m venv .venv
source .venv/bin/activate   # Windows: .venv\Scripts\activate
pip install -e .

This installs the packages listed in pyproject.toml (NumPy, SciPy, Matplotlib, JAX, Equinox, CVXPy, JupyterLab, etc.).

Alternatively, you can use Google Colab to run the notebooks. In that case, you may need to install any required packages yourself. To install a package in a Colab notebook, run the following command in a code cell:

!pip install <package_name>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages