Skip to main content


Introduction to K-Nearest Neighbor & K-Means Clustering

In this video, Doris Cheng will go over two simple yet powerful statistical learning algorithms: K-nearest neighbor and K-means clustering. Along the way, she will introduce the importance of statistical learning, describe the differences between statistical learning and machine learning, and demonstrate K-means in JavaScript on a popular Iris dataset (no library required!).

Project Members: Doris Cheng

Find the program that fits your life.

Learn about our coding, cybersecurity, and data analytics bootcamps offered on full-time and part-time schedules.