In this lesson, students take on the role of an AI spam filter to understand how mathematical reasoning drives AI predictions. Working with sample email subject lines, they identify patterns, calculate word frequencies, and determine probabilities to classify emails as spam or inbox. Students then compute error rates and discuss how these metrics influence AI accuracy. Finally, they apply their findings by writing decision rules for a spam filter, reinforcing the connection between math, logic, and algorithmic thinking.
Lesson Plan
Activity
Activity Answer Key
Assessment Rubric
Instructional Considerations