In this coding challenge, I create a movie recommendation engine using the a “nearest neighbor” algorithm. In this third (and final) part, I use the K-Nearest Neighbor Machine Learning algorithm to predict ratings for movies I haven’t seen yet.

This video is part of session 3 of my Spring 2017 ITP “Intelligence and Learning” course (

Link to Part 1:
Link to Part 2:

Support this channel on Patreon:
To buy Coding Train merchandise:

Send me your questions and coding challenges!:

The Coding Train website:

Links discussed in this video:
The Nature of Code Part 2 (Spring 2017) – Intelligence and Learning:
Notes on Pearson’s correlation coefficient:
ITP Thesis 2017:

Source Code for the all Video Lessons:


For More Coding Challenges:
For More Intelligence and Learning:

Help us caption & translate this video!