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

preview_player
Показать описание


Other Parts of this Challenge:

References:

Videos:

Related Coding Challenges:

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

#nearestneighbors #similarityscore #euclideandistance #associativearrays #p5js #javascript
Рекомендации по теме
Комментарии
Автор

I LOVE that he shows the real pain of getting your program to the final version. It is a very unique approach for Vlog, , you have to respect this approach and it is easily the reason his likes to dislikes ratio is so high in favor of Likes.

haciendadad
Автор

It makes me smile when you are about to click the submit button after your code changes and you say "Ready? <with a smile on your face>" and then it throws a nice red error and the smile melts off your face. Been there 1000 times! It is always exciting to run your code after a change. :-)

haciendadad
Автор

I love the fact that you're actually coding the project while you're demonstrating it. It gives me encouragement when I encounter a bug, and gives me clarity about how I can go about figuring out what is wrong and how I might think about the problem.

veggiet
Автор

I'm currently making a bolus insulin dose decision support system for my final year project at uni and this has helped a lot! Thank you so so much!

joshuawoodward
Автор

really needed this for my recommendation system build. i'm going to riff off this for the use case of matching seniors with social isolation intervention programs! Using responses to survey questions instead of ratings

andrewkiminhwan
Автор

It would be nice to see how this program is effective by taking the rankings of a real user (like Alca) and feeding all of them except one to the program so that we can compare the prediction to the actual value

quakquak
Автор

Watching you code makes me feel like I am getting a 3rd person perspective of my mind at work. :-)

haciendadad
Автор

Daniel,
please create a video on how I can change function / variable names through variables. For example I have a project where I want to create a number of arrays called arr0, arr1, arr2, arr3, ... and I want to make the number in the name a variable so I don't have to manually create each one. I think this would be very useful to know.

WindImHaar
Автор

what a sense-full recommend engine, "look at user ratings movie by movie", "who do i loo like the i so expected a bell at 25min Shiffman knows the names of star war by the Roman Numerals like, at a glance xD Lol

geoffwagner
Автор

I really love you and your videos Daniel! Your book arrived today as a birthday present for myself :D

TURBEGG
Автор

Coding challange: traffic simulator of a 4way intersect

hodabi
Автор

The Star Wars movies are an interesting example because sequence plays such a huge role in how people would PROBABLY want to consume. So even if the predictor is right that a new user will enjoy episode 5 more than episode 4, if that user has seen episodes 1-3, they'd still likely want to watch episode 4 first. Then you have the problem of purists who insist that you should watch 4-6 before 1-3, let alone Rogue One. It would be interesting to know how you would weight these considerations when generating recommendations.

keithjohnson
Автор

I didn't understand the weightedSum/similaritySum part can u please explain it?

bijoyroy
Автор

something's up with this particular video, i can watch every other video on youtube, but this one just can't load

MrZakrencony
Автор

is the link for the Collective Intelligence book in the links for Challenge #70? i am commenting 70.3

midnightrizer
Автор

Hey Daniel, now we want something like Candy Crush :) ( Thanks )

lucafilippini
Автор

hey man, im a highschool student trying to pursue the coding world. i was just wondering how did you become so fluent in this? it looks so effortless. and if you have any recommendations or resources it would be greatly appreciated.

knug
Автор

nice trick you have there by putting a laptop with green back background.

algeria
Автор

can you link me to a video that uses canvas + jQuery to create a map and when the character gets closer to the edge the map changes and all the other characters don't stay at the same point (they need to move to)?

kmtsvetanov
Автор

I think my head just fell yeah look there it is!!

dukestt