AI Demos
Classroom demos for machine learning concepts and modern AI systems.
AI Foundations
Early AI ideas, symbolic reasoning, and ways systems make decisions.
Machine Learning
Classic learning algorithms, feature spaces, distance, and classification.
Activity
KNN Face Expression Activity
Move a point through a 2D feature space and inspect its nearest neighbors.
Activity
KNN Algorithm Walkthrough
Step through measuring distances, sorting, choosing K, and voting.
Activity
K-Means Clustering Activity
Step through unsupervised clustering with random or hand-placed centers.
Activity
Neural Net Basics
Type weights directly into a small network and test whether the logic table works.
Activity
Neural Net Training
Start from chosen weights and watch gradient descent learn the cereal and salsa rule.
Activity
Neural Net Interpretation
Trace signals through a trained network and reason about its hidden strategy.
Class tool
Contribute a KNN Face
Measure and label a photo, then add it to a class dataset using that class's contribution code.
Instructor
KNN Dataset Setup
Create class datasets and manage the examples used by the KNN activity.
Text Generation
Ways to generate language, from counted word transitions to local base language models.
Activity
N-Gram Builder
Count word transitions, regroup them as probabilities, and use them to generate text.
Activity
N-Gram Graph Lab
Walk a probability graph to generate text from unigrams, bigrams, and trigrams.
Activity
Base Model Token Generator
Prompt a local model and inspect each next-token choice.
Language Model Concepts
Representations, tokenization, attention, and adaptation inside modern AI systems.
Activity
RAG Explorer
Retrieve evidence, inspect the context, and compare answers with and without documents.
Activity
Word Embedding Explorer
Compare word vectors, try analogy math, and project words onto semantic axes.
Activity
Token Explorer
Inspect model-specific tokenization.
Activity
Context Window
Generate while limiting visible context.
Activity
Attention Explorer
View average attention between tokens.
Activity
Fine-Tuning Lab
Train FLAN in rounds and compare base vs tuned behavior.
Activity
LoRA Fine-Tuning Activity
Train a small per-session adapter and compare base vs adapter behavior.