AI for Youth Academy Future Scholars Research Initiative

Course focus

Key themes

  • 2D space, points, vectors, and matrix representations
  • 2D representations of linear equations on a map
  • Python fundamentals: functions, loops, and conditionals

Hands-on moments

  • Program a FIRST LEGO Challenge robot car to navigate a 2D map.
  • Use the FIRST LEGO Python library and function calls to control movement.
  • Practice loops and if/else logic to make navigation reliable.

Outcomes

  • Explain vectors and linear equations with 2D map examples.
  • Write beginner Python programs using functions, loops, and conditionals.
  • Connect robot movement to 2D math representations.

Week-by-week plan

Subject to change based on cohort pace and feedback.

  1. 01

    Course kickoff and 2D maps

    Math

    Coordinate plane, points, and map orientation.

    Reading Material
  2. 02

    Points and distance

    Math

    Reinforce coordinate plane concepts from Week 01 and explore distance between two points.

    Computer Setup

    Install LEGO Education SPIKE App (https://education.lego.com/en-us/downloads/spike-app/software/) or verify browser access to https://spike.legoeducation.com/.

    Python

    LEGO Spike Prime IDE setup and driving SPIKE PRIME using helper functions with the FIRST LEGO Python library.

    Robot

    Drive calibration and distance moves with move_for_degrees to reach map checkpoints.

    Reading Material
  3. 03

    Linear equations and coordinate systems

    Math

    Use systems of two-variable linear equations to understand non-perpendicular ("wacky") coordinate systems and convert between them.

    Reading Material
  4. 04

    Vectors in AI, 3D Space, and Python Basics

    Math

    Word embeddings (king - man + woman = queen), 3D coordinate systems, and locating points in 3D space.

    Python

    Google Colab setup, variable types (int, float, str, list), and NumPy matrix multiplication.

    Reading Material
  5. 05

    Vector addition and scalar multiplication

    Math

    Adding vectors together and multiplying vectors by scalars for movement planning.

    Python

    Introduction to for loops for iterating through vector components.

    Reading Material
  6. 06

    What is intelligence?

    Math

    Introduction to input and output.

    AI

    What makes a task "intelligent"?

    AI

    Google Teachable Machine: training a dogs vs. cats classifier.

    Reading Material
  7. 07

    Finding the best line, one step at a time

    Math

    Absolute error, slope of the error, and the gradient descent update rule.

    Python

    Lists, for loops, functions, and matplotlib scatter/line plots for gradient descent.

    AI

    Gradient descent: start with a random guess and improve step by step.

    AI

    Learning rate: controlling the size of each update step.

    Reading Material
  8. 08

    Review Week — Connecting the Dots

    Math

    Comprehensive review of coordinate systems, vectors, and their applications.

    Python

    Review of variables, lists, for loops, functions, and matplotlib plotting.

    AI

    Connecting all concepts: from abstraction to gradient descent.

    AI

    Comprehensive challenge: implement linear regression from scratch.

    Reading Material
  9. 09

    Bringing Python skills to LEGO Spike

    Math

    Exterior angles of regular polygons (360 ÷ n).

    Python

    Config blocks, custom functions (drive_straight, turn), for loops for repeated patterns, and mission lists for multi-step routes.

    Robot

    Drive polygons, tune config variables, and navigate a multi-waypoint course.

    Reading Material
  10. 10

    Gear Ratios and Function Composition

    Math

    Gear ratio formula: output = input × (driver teeth ÷ driven teeth).

    Python

    Gear-ratio functions (small_drive_mid, mid_drive_small, small_drive_big), function composition for multi-axis mechanisms, and good vs. bad function names.

    Robot

    Model a three-axis claw using chained gear-ratio functions.

    Reading Material
  11. 11

    Python Fundamentals Test

    Math

    No new math this week — test week.

    Python

    28 questions covering built-in functions, variable types, for loops, if/else, and user-defined functions.

    Reading Material
  12. 12

    What Is an Object, Anyway?

    Math

    No new math this week — programming focus.

    Python

    Classes, objects, attributes, dot operator, and writing functions that operate on objects.

    Reading Material
  13. 13

    Methods That Do Things

    Math

    No new math this week — programming focus.

    Python

    Instance methods (def inside a class), using if/else inside methods, and __str__ for readable objects.

    Reading Material
  14. 14

    Teams, Lists, and Loops / Design Your Own Class

    Math

    No new math this week — programming focus.

    Python

    Lists of objects, for/while loops over teams, a two-team battle simulation, debugging common errors, and designing a custom class from scratch.

    Reading Material
  15. 15

    Inheritance — The Family Tree

    Math

    No new math this week — programming focus.

    Python

    Parent and child classes, the class Child(Parent) syntax, inherited methods, adding child-only methods, and drawing an inheritance tree.

    Reading Material
  16. 16

    Method Overriding and super()

    Math

    No new math this week — programming focus.

    Python

    Overriding parent methods, super().__init__() for extra attributes, method resolution order, and the pattern behind every PyTorch neural network.

    Reading Material