Back to Browse

Coding Challenge #70: Nearest Neighbors Recommendation Engine - Part 3

24.6K views
May 11, 2017
33:02

In this multi-part coding challenge, I create a movie recommendation engine using the "nearest neighbor" algorithm. Code: https://thecodingtrain.com/challenges/70-nearest-neighbors-recommendation-engine p5.js Web Editor Sketches: πŸ•ΉοΈ Nearest Neighbors, Part 1: https://editor.p5js.org/codingtrain/sketches/S2jhCLS9m πŸ•ΉοΈ Nearest Neighbors, Part 2: https://editor.p5js.org/codingtrain/sketches/0tBrSEhTg πŸ•ΉοΈ Nearest Neighbors, Part 3: https://editor.p5js.org/codingtrain/sketches/aIYPcl4me πŸ•ΉοΈ Nearest Neighbors, Part 3 with added styling: https://editor.p5js.org/codingtrain/sketches/-WBVNk45K Other Parts of this Challenge: πŸ“Ί Nearest Neighbors Recommendation Engine - Part 1: https://youtu.be/N8Fabn1om2k πŸ“Ί Nearest Neighbors Recommendation Engine - Part 2: https://youtu.be/Lo89NLmSgl0 πŸŽ₯ Previous video: https://youtu.be/flxOkx0yLrY?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH πŸŽ₯ Next video: https://youtu.be/LFU5ZlrR21E?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH πŸŽ₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH References: πŸ“• The Nature of Code Part 2 (Spring 2017) - Intelligence and Learning: https://github.com/shiffman/NOC-S17-2-Intelligence-Learning πŸ““ Notes on Pearson's correlation coefficient: https://github.com/shiffman/NOC-S17-2-Intelligence-Learning/wiki/Glossary:-Statistics#correlation Videos: πŸš‚ My Video on Associative Arrays: https://www.youtube.com/watch?v=_5jdE6RKxVk πŸ”΄ Coding Train Live 91: https://youtu.be/Do_Gftp_oug?t=7983s Related Coding Challenges: πŸš‚ #98 Quadtree: https://youtu.be/OJxEcs0w_kE πŸš‚ #104 Linear Regression with TensorFlow.js: https://youtu.be/dLp10CFIvxI πŸš‚ #105 Polynomial Regression with TensorFlow.js: https://youtu.be/tIXDik5SGsI Timestamps: 0:00 Introduction 1:14 Loop through the titles 3:45 Add "not seen" option 4:20 Predict ratings 5:10 Add the drop-downs to an array 7:57 Change "not seen" to null 9:38 Change euclideanDistance() to receive user object 13:03 Format similarity score 18:06 Predict star rating 25:44 Weighted sum of similarity scores 28:20 Error checking 30:10 What could you do? 31:18 movielens Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound πŸš‚ Website: http://thecodingtrain.com/ πŸ‘Ύ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide 🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box πŸ’‘ GitHub: https://github.com/CodingTrain πŸ’¬ Discord: https://thecodingtrain.com/discord πŸ’– Membership: http://youtube.com/thecodingtrain/join πŸ›’ Store: https://standard.tv/codingtrain πŸ–‹οΈ Twitter: https://twitter.com/thecodingtrain πŸ“Έ Instagram: https://www.instagram.com/the.coding.train/ πŸŽ₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH πŸŽ₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA πŸ”— p5.js: https://p5js.org πŸ”— p5.js Web Editor: https://editor.p5js.org/ πŸ”— Processing: https://processing.org πŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new #nearestneighbors #similarityscore #euclideandistance #associativearrays #p5js #javascript

Download

0 formats

No download links available.

Coding Challenge #70: Nearest Neighbors Recommendation Engine - Part 3 | NatokHD