Northwestern University
Syllabus and data sets will be available on the course Canvas.
Students are highly encouraged to purchase the following two books for the course:
-
Molnar, Christoph. Interpretable Machine Learning: A Guide for Making Black Box Models Explainable. 3rd ed. https://christophm.github.io/interpretable-ml-book/. Accessed on March 28, 2025.
-
Molnar, Christoph. Interpreting Machine Learning Models With SHAP: A Guide With Python Examples and Theory on Shapley Values. Independent publication, 2023.
-
conda_env_iml4finance_2026.yml: cross-platform conda environment for the course -
IML4Finance.code-workspace: workspace file for the local repository -
.vscode/Interpretable ML.code-profile: VS code profile of extensions and keyboard shortcuts
- Open GitHub Desktop (and link your GitHub account).
- Click on
File>Clone Repository.... - Select the
URLtab. - Enter the URL of the repository
- Click on
Choose...and select the directory where you want to save the repository. - Click on
Clone.
-
Open a terminal.
On Windows, use
Miniforge Promptor a shell wherecondais initialized.On macOS or Linux, use your regular terminal.
-
Change the directory to the local repository (see Step 5 in the previous section).
-
Create the conda environment from
conda_env_iml4finance_2026.yml:
conda env create -f conda_env_iml4finance_2026.ymlconda_env_iml4finance_2026.yml is the only supported environment file for this repo.
- Activate the conda environment:
conda activate env_iml4finance_2026- Launch VS Code:
codeLecture, lab, and rendered output filenames use underscore-based names such as Lecture_02.qmd, Lab_01.qmd, and Lecture_02.html to avoid shell and Quarto issues caused by spaces in file paths.
-
Lectures/: lecture source files (.qmd), rendered lecture outputs (.html,_files/), lecture PDFs, lecture model folders,Images/, andreferences.bib -
Labs/: lab source files (Lab_01.qmdthroughLab_04.qmd), rendered lab outputs (.html,_files/), EDA reports, and lab model folders -
Quizzes/: quiz scripts and quiz-specific data files -
Examples/: standalone example spreadsheets used in the course -
course_utils/: shared Python utilities for labs and other course materials -
Data/: dataset-specific loaders, documentation, and local data assets
Labs now import shared utilities from course_utils.helpers, while lectures continue to use local lecture assets from Lectures/.
Rendered Quarto outputs now live beside their source .qmd files in Labs/ and Lectures/. Model folders created by the course materials also live beside the .qmd files that generate or consume them.
- Open VS Code
- Type
Ctrl + Shift + Pon Windows andCmd + Shift + Pon Mac - Type
>Profiles: New Profile - Delete the profile that is called "Untitled"
- Click on the drop-down arrow next to the "New Profile" button
- Click
Import Profile - Click
Select File - Choose
Interpretable ML.code-profile
Hidden folders on a Mac
To see hidden folders (that start with a dot) on a Mac, toggle on/off with Cmd + Shift + ..