In this multi-part coding challenge, I create a movie recommendation engine using the "nearest neighbor" algorithm. Code: thecodingtrain.com/challenges...
p5.js Web Editor Sketches:
🕹️ Nearest Neighbors, Part 1: editor.p5js.org/codingtrain/s...
🕹️ Nearest Neighbors, Part 2: editor.p5js.org/codingtrain/s...
🕹️ Nearest Neighbors, Part 3: editor.p5js.org/codingtrain/s...
🕹️ Nearest Neighbors, Part 3 with added styling: editor.p5js.org/codingtrain/s...
Other Parts of this Challenge:
📺 Nearest Neighbors Recommendation Engine - Part 2: • Coding Challenge #70: ...
📺 Nearest Neighbors Recommendation Engine - Part 3: • Coding Challenge #70: ...
🎥 Previous video: • Coding Challenge #69: ...
🎥 Next video: • Coding Challenge #71: ...
🎥 All videos: • Coding Challenges
References:
📕 The Nature of Code Part 2 (Spring 2017) - Intelligence and Learning: github.com/shiffman/NOC-S17-2...
📓 Notes on Pearson's correlation coefficient: github.com/shiffman/NOC-S17-2...
Videos:
🚂 My Video on Associative Arrays: • 5.2: Associative Array...
🔴 Coding Train Live 91: • Live Stream #91: Sessi...
Related Coding Challenges:
🚂 #98 Quadtree: • Coding Challenge #98.1...
🚂 #104 Linear Regression with TensorFlow.js: • Coding Challenge #104:...
🚂 #105 Polynomial Regression with TensorFlow.js: • Coding Challenge #105:...
Timestamps:
0:00 Introduction
1:50 Nearest neighbor
2:44 Euclidean distance
6:28 Load the data
7:27 Create drop down menus
10:40 Write a Euclidean distance similarity function
11:58 Create a look-up table
16:05 Accessing the ratings
20:03 Get the difference in ratings between users
22:11 Adjust the similarity score
24:14 Deal with null values
24:14 What's next: list the most similar users
26:36 Pearson's correlation
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
🚂 Website: thecodingtrain.com/
👾 Share Your Creation! thecodingtrain.com/guides/pas...
🚩 Suggest Topics: github.com/CodingTrain/Sugges...
💡 GitHub: github.com/CodingTrain
💬 Discord: thecodingtrain.com/discord
💖 Membership: kzitem.infojoin
🛒 Store: standard.tv/codingtrain
🖋️ Twitter: / thecodingtrain
📸 Instagram: / the.coding.train
🎥 Coding Challenges: • Coding Challenges
🎥 Intro to Programming: • Start learning here!
🔗 p5.js: p5js.org
🔗 p5.js Web Editor: editor.p5js.org/
🔗 Processing: processing.org
📄 Code of Conduct: github.com/CodingTrain/Code-o...
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecod...
#nearestneighbors #similarityscore #euclideandistance #associativearrays #p5js #javascript
Негізгі бет Coding Challenge #70: Nearest Neighbors Recommendation Engine - Part 1
Пікірлер: 79