Optional Local Setup (Conda + AI Help)
Use Binder for the smoothest course experience. Use local setup only if you prefer running notebooks on your own machine.
Binder vs Local
- Use Binder when you want zero setup and fast onboarding.
- Use Local Conda when you want persistent files, custom tooling, or offline edits.
- Use Colab for Lab 4 (neural networks), where GPU support is helpful.
Local Setup (Step-by-Step)
- Install Miniconda: https://www.anaconda.com/docs/getting-started/miniconda/main
- Clone this repository:
- Create/update the environment:
- Activate the environment:
- Launch Jupyter Lab:
Sanity Check
After Jupyter opens:
- Open
notebooks/1_introduction.ipynb. - Run all cells from a fresh kernel.
- Confirm there are no import errors and plots render correctly.
If a notebook needs project data, run:
Troubleshooting Quick Notes
conda: command not found: close/reopen terminal after Miniconda install, then retry.- Wrong kernel/interpreter: in Jupyter, switch kernel to the env created from
./envs. - Binder is slow to start: wait for image build to finish, then refresh once.
- Package mismatch after edits: rerun
make envto resync dependencies fromenvironment.yml.
Prompt Template for AI Tools
Use this when asking for setup help:
I am using the
wfondrie/ushupo-ml-short-courserepo. Please guide me step-by-step to run notebooks with Conda usingmake env,conda activate ./envs, andmake jupyter. Assume I am a beginner. Ask me to run one command at a time and verify each output before moving on.