Praxis
  • Get Started
    • Quickstart Guide
  • Courses
    • AMNE-376
    • SOCI-415
    • SOCI-280
    • ECON-227
    • Causal Machine Learning

    • Browse All
  • All Topics
  • Teach with Praxis
    • Learn how to teach with Praxis
  • Launch Praxis
    • Launch on JupyterOpen (with Data)
    • Launch on JupyterOpen (lite)
    • Launch on Syzygy
    • Launch on Colab
    • Launch Locally

    • Github Repository
  • |
  • About
    • Praxis Team
    • Copyright Information
Categories
All (22)
AMNE 376 (1)
ECON 227 (1)
HIST 414 (1)
OCR (1)
Python (22)
SOCI 280 (1)
SOCI 415 (2)
boosting (1)
causal forest (1)
causal inference (6)
computer vision (2)
convolutions (3)
cross-fitting (1)
cross-validation (1)
decision trees (1)
deep learning (2)
double machine learning (1)
heterogeneous effects (1)
image analysis (1)
image embeddings (1)
image processing (1)
inverse probability weighting (1)
large language models (1)
lasso (2)
machine learning (9)
natural language processing (1)
network analysis (3)
neural networks (3)
nonparametric (1)
political economy (1)
potential outcomes (1)
prediction (2)
propensity score (1)
random forests (1)
regularization (1)
ridge (1)
sentiment analysis (2)
text analysis (2)
text extraction (1)
treatment effects (5)
unconfoundedness (1)
variable selection (2)
word embeddings (2)

All Modules

This section contains all materials and case studies to support a variety of classes. Filter by topic using the categories on the right. Filter by class by choosing the appropriate class category.

Modules

A Study of Richter’s Kouroi Through Image Embedding
Using examples from Richter’s Kouroi, this notebook introduces computer vision and image embeddings, showing how pre-trained convolutional neural networks can be applied…
25 Jul 2025

A visual introduction to fundamental modern machine Learning
What is Deep Learning, Machine Learning, and Artificial Intelligence?
24 Jul 2025

Double Machine Learning
The seventh notebook in the Causal ML stream. We combine everything: the partially linear model, the residual-on-residual idea from Notebook 4, and any learner we like for…
21 Jun 2026

Embedding Driven Text Analysis of Crease’s Stance Towards Chinese Immigrants
This notebook aims to demonstrate how machine learning can assist with historical and other humanities research.
4 Aug 2025

From Prediction to Treatment Effects
The fourth notebook in the Causal ML stream. We move away from prediction to causality. We meet potential outcomes, the average treatment effect, selection bias, and the…
18 Jun 2026

Heterogeneous Effects and Causal Forests
The eighth and final notebook in the Causal ML stream. We move from the average effect to who benefits. We meet the conditional average treatment effect, estimate it with…
20 Jun 2026

How Do Large Language Models Predict?
This notebook explores how large language models (LLMs) work by linking their probability-based predictions to real-world applications. We start with the basics of next-word…
26 Aug 2025

Image Analysis Workshop: Computer Vision for Social Science Research
This workshop notebook introduces practical image analysis for social science research, including manual preprocessing, similarity and clustering (BoVW), deep learning…
25 Mar 2026

Introduction to Convolutional Neural Networks (CNNs)
This notebook provides an introduction to Convolutional Neural Networks (CNNs), their architecture, and their applications. It includes a hands-on example of building and…
24 Jul 2025

Introduction to Convolutions
This notebook provides an intuitive explanation of convolution and its application in multiple fields with some simple examples.
22 Jul 2025

Introduction to Network Analysis
This notebook is an introduction to basic network analysis in Python.
13 Oct 2025

Introduction to Sentiment Analysis: Identifying and Mapping Disinformation Campaigns using NLP
An introduction to BERT-based NLP using online examples of disinformation and exploration of how embeddings and classification models can be used to analyze and detect…
24 Jul 2025

Network Analysis: CBDB Dataset
Using Network Analysis to Analyze The China Biographical Dataset
13 Oct 2025

Network Analysis: KINMATRIX Dataset
Using the KINMATRIX Dataset to explore network analysis for SOCI 415
13 Oct 2025

Optical Character Recognition (OCR)
OCR
6 Apr 2026

Post-Double-Selection Lasso
The fifth notebook in the Causal ML stream. We return to the growth data from Notebook 2 and the convergence question. A naive regression shows no convergence, and so does a…
22 Jun 2026

Prediction, Inference, and Causality
The first notebook in the Causal ML stream. We meet the supervised-learning way of thinking: prediction versus inference, train/test splits, loss functions…
6 Jun 2026

Propensity Scores and Doubly-Robust Estimation
The sixth notebook in the Causal ML stream. We return to the 401(k) question and adjust for confounders a second way: by modelling who gets treated. We estimate the…
19 Jun 2026

Regularization: Ridge and Lasso
The second notebook in the Causal ML stream. We encounter the ‘too many controls’ problem, where ordinary least squares falls apart once the number of covariates approaches…
19 Jun 2026

Text Analysis Overview
Qualitative research often begins with hand-coded analysis, where researchers create a codebook and apply categories to text manually

Trees, Forests, and Boosting
The third notebook in the Causal ML stream. We show a different way to be flexible: decision trees, which split the data into boxes and predict the local average. A single…
21 Jun 2026

Word Embeddings and National Constitutions
Using word embeddings to compare the language of autocratic and democratic national constitutions.
24 Apr 2026
No matching items
    • Creative Commons License. See details.
     
    • Report an issue
    • The Praxis Project and UBC are located on the traditional, ancestral and unceded territory of the xʷməθkʷəy̓əm (Musqueam) and Sḵwx̱wú7mesh (Squamish) peoples.