Which Cluster Does it Belong To?

Joonsung Oh
Stanford University
2023

Given the rise of information and data in today’s world, we need various methods and approaches to analyze them, whether it is to make predictions from given information or to categorize them into different groups based on observed trends. In this lesson, students will have data on twenty shoppers. It shows the shoppers’ amount of money they received at the start of a week and the amount of money they spent by the end of the week. With this data, students will put each shopper into a certain category based on the amount of money they received and the amount of money they spent. In order to do this, students will use a machine learning algorithm called clustering, which uses the Pythagorean Theorem to determine which category, or cluster, a certain shopper belongs to. From this lesson, students will understand the process that this machine learning algorithm takes and how it can be applied even with large datasets.

Funders

Stanford University