We have 2 hours! Here’s how we’ll spend them:
| Time | Segment |
|---|---|
| 0:00–0:10 | Why I developed this course |
| 0:10–0:20 | The two-week arc |
| 0:20–0:45 | Jupyter K-12 (the platform) |
| 0:45–1:40 | Four modules (test hands-on activities) |
| 1:40–2:00 | Wrap-up + Q&A |
| Days | Module | Focus |
|---|---|---|
| Day 1 | Intro | AI concepts survey, types of AI |
| Days 2–3 | Module 1: Working with Data | pandas, matplotlib, scikit-learn |
| Days 4–5 | Module 2: Physical Computing | micro:bit, gesture ML, MakeCode |
| Days 6–7 | Module 3: Computer Vision | Neural networks, 5 CV algorithms |
| Days 8–9 | Module 4: Generative AI | LLMs, image generation, VLMs |
| Day 10 | Capstone | Final project + show & share |
Each module builds on the last:
Week 1 uses datasets from Mongolia, by design:
Why Mongolia?
Let’s walk through the same notebook students open on Day 1:
labs/01/notebooks/hello_world.ipynb in Jupyter K-12#@param form fields: change NAME and GREETING and re-runDay 2: Working with Data
Students load a real Ulaanbaatar air quality dataset and use pandas and matplotlib to investigate why the city has some of the worst air pollution on the planet.
Day 3: How Machines Learn
Students load a dzud disaster dataset, find which climate variables correlate with livestock mortality, then train a linear regression model using scikit-learn to predict future events.
By the end: students have trained their first ML model in Python.
What students do on Day 2 (you’ll try a version now):
.head(), .describe(), .info())Day 4: AI in the Physical World
Students connect a BBC micro:bit wearable via radio to CreateAI, record 4–5 gesture actions, and train a gesture recognition model. Then they swap with another pair to test whether the model generalises.
Day 5: Coding the Response
Students write MakeCode Python event handlers that respond to each detected gesture, flash the model to the wearable, and build a mini-project (fitness tracker, clapper, safe driving app, or original idea).
What students do on Day 4:
Day 6: How Computers See
Students explore how neural networks work (interactive browser demo), then run five pre-trained computer vision algorithms: face detection, object detection, pose estimation, and a 3D pose avatar.
Day 7: CV Mini-Project
Students add gesture recognition and image segmentation, then combine any of the five CV algorithms with their own Python logic to build an original mini-app.
| Algorithm | What it does |
|---|---|
| Face detection | Finds faces: bounding boxes, not identity |
| Object detection | Finds multiple objects and labels them |
| Pose estimation | Maps 33 body landmarks in real time |
| Gesture recognition | Classifies 8 hand poses |
| Image segmentation | Labels every pixel: enables background removal |
Each algorithm has its own notebook. Students run them on live webcam video.
What students do on Day 6 (you’ll try a version now):
Day 8: Language Models
Students explore word embeddings (King − Man + Woman ≈ Queen), then call a language model from Python using the OpenAI SDK. They apply streaming and structured output to build more useful programs: including generating a piano melody and a 3D scene.
Day 9: Images and Vision Language Models
Students generate images from text prompts using a diffusion model, restyle photos with image-to-image, and query a Vision Language Model (VLM) with their own images: ending with a three-step seeing assistant.
What students do on Day 8 (you’ll try a version now):
labs/Syllabus.qmdlabs/01/ through labs/09/jupyter-k12.org