No video

Movie Recommendation System With Python And Pandas: Data Project

  Рет қаралды 68,442

Dataquest

Dataquest

Күн бұрын

Пікірлер: 76
@vikasparuchuri
@vikasparuchuri Жыл бұрын
Here's all of the code for this video - github.com/dataquestio/project-walkthroughs/blob/master/movie_recs/movie_recommendations.ipynb . And you can download the dataset here - files.grouplens.org/datasets/movielens/ml-25m.zip . Enjoy :)
@shachisinghal8856
@shachisinghal8856 Ай бұрын
Finally, someone has used a different dataset. Thanku😊
@abdulkareemridwan8762
@abdulkareemridwan8762 2 жыл бұрын
Lost interest in ML earlier this year..your tutorial was really a turnaround..Really appreciate 🙏
@Dataquestio
@Dataquestio 2 жыл бұрын
That's amazing to hear, Abdulkareem! -Vik
@SoundofSilence1
@SoundofSilence1 2 жыл бұрын
@@Dataquestio yes Vik is an amazing teacher.
@prityar042
@prityar042 10 ай бұрын
This project was really amazing and I have to say this video is very underrated. I actually shared this with my batch mates they liked it too.
@meditationhealingmusic6550
@meditationhealingmusic6550 10 ай бұрын
Thank you Much appreciate it so for walking us through this project . I am very excited to learn every single day Dataquest.
@charlesvictory169
@charlesvictory169 9 ай бұрын
You are too good!!! This was very helpful. I had to subscribe immediately. Thanks so much
@yapwlm913
@yapwlm913 Жыл бұрын
Hi Vik, that is a great demonstration of building a recommendation system. Thank You! But it might be more interesting if the constructed recommendation system is applied to Streamlit as the framework can be more solid I think?
@johndiba1321
@johndiba1321 2 жыл бұрын
attempting to apply this lesson and data scraping to create a book recommendation system for my portfolio. should be able to get a nice dataset from goodreads
@Dataquestio
@Dataquestio 2 жыл бұрын
Hi John - I made a video about book recommendations earlier that might help - kzbin.info/www/bejne/rl7EnaqcnLZgmbs .
@rajeevmenon1975
@rajeevmenon1975 2 жыл бұрын
Real interesting video Vikas. Really engrossing. Keep coming up with such quality stuff.
@Dataquestio
@Dataquestio 2 жыл бұрын
Thanks, Rajeev!
@gandiyasasri
@gandiyasasri 3 ай бұрын
It is very good and most useful in our daily life
@narsimharao8565
@narsimharao8565 2 жыл бұрын
Feel in love with the tutorial ❤️.
@staniherstaniher9300
@staniherstaniher9300 Жыл бұрын
Nice video. Please, can you make a video where you evaluate this model using metrics such as ndcg@, diversity, accuracy...?
@losmi-iv2qt
@losmi-iv2qt Ай бұрын
Is this made with Machine Learning since I don't think I heard it being mentioned? Anyways nice tutorial man!
@vanesszatoke2977
@vanesszatoke2977 Жыл бұрын
Hi! Very good demonstration of building a recommendation system. The best which I have found! I have a question. Is this user-based or item-based collaborative recommendation type what you are doing? Because other videos I checked, there created a kind of user-item matrix and checked the correlation between users or movies according to the type of rec systems (user- or item-based). If I should make my bet I would say it is more like an item-based one, but I am not sure! 😄 Thank you if you are answering!
@Dataquestio
@Dataquestio Жыл бұрын
Hi Vanessa - I would consider this to be a version of user-based collaborative filtering. We have to make some modifications, since we're only passing in a single movie (versus a matrix of our preferences). We're then finding movies that people similar to us liked more than the general population liked.
@yadavvishu1869
@yadavvishu1869 Жыл бұрын
I am running the same code in vs code but it only showing two value we put in code input not giving any button or search bar out😢 how to tackle it
@ayeshaabbas8696
@ayeshaabbas8696 Жыл бұрын
Thank You So Much Sir. lots of respect ..
@swapnilchowdhury3957
@swapnilchowdhury3957 Жыл бұрын
I have written the code in vscode Jupyter notebook. I am facing a problem because the input and output widgets are not displaying. No text box is appearing. How to solve this issue
@ekeminiben6885
@ekeminiben6885 3 ай бұрын
Thank you very much sir for this inspiring tutorial. Please I want to build a recommender system, "The aim of this study is to design and implement a Recommender System for clothing styles based on user body type derived from user body measurements." Please can you help with this kind of project or how can I go about it from getting the dataset to completion. Thank you
@hanweiz84
@hanweiz84 2 жыл бұрын
Appreciate if you can also show how to host this on a web server. Thanks a lot! This is awesome
@Dataquestio
@Dataquestio 2 жыл бұрын
Thanks, Ang! I'll look into doing this for a future video. -Vik
@soumyaranjith2951
@soumyaranjith2951 Жыл бұрын
Thank you so much Sir😍🙏🙏🙏
@ayunymoba5974
@ayunymoba5974 9 ай бұрын
is this count as hybrid recommendation? cuz there is tf idf cosine simillarity (content based) and also item based filtering (collaborative based)?
@domakondajyothi33
@domakondajyothi33 6 ай бұрын
ya even i want to know this>>>is this hybrid or colab??
@doopao
@doopao Жыл бұрын
Vik u r the very best!
@thehiddenguy655
@thehiddenguy655 Жыл бұрын
Thank You sir this helps me a lot
@johhnykimsey5180
@johhnykimsey5180 2 жыл бұрын
thank you very much it was a great video
@alirezanorouzi8924
@alirezanorouzi8924 Жыл бұрын
thanks for sharing , i use it
@kaiserkonok
@kaiserkonok Жыл бұрын
Loved this video🔥
@shreyam3259
@shreyam3259 Жыл бұрын
Hello, I am learning programming Python by myself. I was wondering if you could tell me, in brief, the overall workflow of this project so it would be easier to understand. (Maybe 5-6 points to summarize). And why we choose this particular method.
@tanishqshivram9419
@tanishqshivram9419 Жыл бұрын
sir i am not getting any output neither am I getting any error . Can you pls help me out?
@khanhtruongphamngoc2246
@khanhtruongphamngoc2246 3 ай бұрын
how to evaluate the accuracy of the model sir?
@domakondajyothi33
@domakondajyothi33 5 ай бұрын
this really helped me ...but at the end i got an error as 'list' object has no attribute 'indexing'...so what can i do
@narsimharao8565
@narsimharao8565 2 жыл бұрын
Also we can make recommendations using knn clusters, so those who like action movie, may get action movie recommended. But we have to do more analysis why users given most rating for them. Am I correct Vik.., please correct me. Just doubt
@Dataquestio
@Dataquestio 2 жыл бұрын
Hi - you could use knn to segment users, then base predictions on the clusters. You could also use k-nearest neighbors. You probably won't get much over collaborative filtering (the technique here), since they both use similar techniques to find similar users.
@nil-xo4ce
@nil-xo4ce 2 жыл бұрын
sick video 🔥
@nanaphiona4462
@nanaphiona4462 2 жыл бұрын
Thanks for the inspirations
@aishwaryakolte538
@aishwaryakolte538 9 ай бұрын
In building search box, my recommendations are not changing. It shows same recommendations as for Toy Story. I made the after changes of removing the fixed movie title, yet there was no change in the recommendations. Could you please help for the same?
@mr.random4960
@mr.random4960 5 ай бұрын
Which method is used here? Collaborative or content based?
@tekinbayrakl7886
@tekinbayrakl7886 Жыл бұрын
hi. when we create recommedation score, you said we want big difference between similar and all. Why is that?
@dayaramd2709
@dayaramd2709 2 жыл бұрын
very very good job
@Rosh__138
@Rosh__138 7 ай бұрын
Which algorithms are used in this video for building model? Anyone can tell!!??
@k-popworldwide3282
@k-popworldwide3282 Жыл бұрын
Can someone please explain the part in this built system where the data preprocessing, Train Test Split, Model Fit, and Model Tune have been done?
@soumyaranjith2951
@soumyaranjith2951 Жыл бұрын
I can't import the data into jupiter notebook.When I try to import it, there is an error occuring.
@Han-ve8uh
@Han-ve8uh 2 жыл бұрын
1. Why at 12:43 "most similar result is last in list"? According to np.argpartition docs, "The order all elements in the partitions is undefined". You only provided -5 so we are only certain the -5th position is correct but can make no conclusions on -4 to -1. If a sequence of ints was passed to kth parameter instead, then we can be sure of the order of last 5. 2. For this demo we always start with a single movie_id, then do the calculations, feels like some work will be repeated if we change the input movie_id and all of the work is done at inference time. Are there opportunities for caching or precomputing anywhere? 3. Why is a .unique() added at 20:40? That line was focused on movie_id = 1. I assume for each movie, each user will only rate it once? This means given movie_id = 1, all users will already be unique so no need for unique(). If each movie can be rated by a user twice (either with same or different scores), that feels like bad DB design of appending instead of updating. If indeed there were multiple ratings from same user for same movie, we should deduplicate (eg. take latest in time rating) during data preprocessing before any sort of recommendation analysis to prevent hacky fixes like adding .unique() to work around bad data. What do you think?
@Dataquestio
@Dataquestio 2 жыл бұрын
Hi Han, great questions. 1. That's a good point about argpartition. In practice, the results appear to be ordered, so I didn't worry too much about it. For example, exact matches are always the top result. As you mentioned, you could pass in a sequence to get 100% guaranteed ordering. 2. There's a tradeoff between simplicity of the solution (making it easier to teach/demo) and speed of the solution. We're precomputing the tf/idf matrix and other items that are common across all movies. If I was deploying this to a web service, instead of precomputing, I would just cache outputs. So the first generation would be slow, but subsequent searches would hit the cache. This is because precomputing for all of the movies would take a while, and if we wanted to update our algorithm, etc, we'd need to redo all the precomputation. 3. In this case, I added .unique() as a defensive check. I don't think it was necessary, since the data should be unique on movieId/userId pairs. But yes, if we were doing this in production, we would want to deduplicate upfront instead of on the fly for better performance.
@quizzesya
@quizzesya Жыл бұрын
The type of this recommendation system is content based filtering right?
@chinmoypadhi
@chinmoypadhi 2 жыл бұрын
how can we add k-fold cross validation technique to this collaborative filtering model?Any example will be great
@Dataquestio
@Dataquestio 2 жыл бұрын
You would need to define an error metric, and then label data. Then you could evaluate against the metric. There's an example here with measuring the ranks of NBA MVPs - kzbin.info/www/bejne/aZTRYqF-ocd5jNk .
@sauravchauhan9280
@sauravchauhan9280 2 жыл бұрын
i am building a web app for this but cant figure out what model to save
@LazyLee295
@LazyLee295 Жыл бұрын
Hi, this is the recommender item based on users' rating but can you do the recommender user based on item they like? for exemple if a user have a list anime they like then we recommend based on that list. Thank you for reading my comment.
@AmIThereYet.
@AmIThereYet. Жыл бұрын
What algorithm is used here?
@Zuthilios
@Zuthilios Жыл бұрын
What environment are you building this in? I was following this tutorial but in gitpod for me, the jupyter widgets aren't behaving. The Text and TextArea widgets don't ever appear, a FloatText widget will sometimes appear, IntSlider and Select widgets will often appear and sometimes none of them will appear. This changes randomly even when making no changes. The output space is always there and working correctly, but I can't seem to find any cause or solution to this issue, it's thrown me off continuing this tutorial. Perhaps it's a version issue, I'll try following your code for the versions you used as a last option.
@Dataquestio
@Dataquestio Жыл бұрын
That's strange - I used JupyterLab on my own computer.
@ManojYadav-ut7ew
@ManojYadav-ut7ew Жыл бұрын
which model is used to create this?
@rahouanitoufik7375
@rahouanitoufik7375 Жыл бұрын
How to build this recommendations system drug in Java
@talhajalil8674
@talhajalil8674 Жыл бұрын
I have written the same exact code and when I use "Men 1995" as title to look for similarity I get probability of zero for entire array. Why?
@talhajalil8674
@talhajalil8674 Жыл бұрын
@vikasparuchuri
@anushkab8867
@anushkab8867 Жыл бұрын
how can i make recommendation system based on genres??
@sanika8866
@sanika8866 Жыл бұрын
how to import dataset as csv??
@hiashraful
@hiashraful Жыл бұрын
How can I build this project in vscode?
@Sparkss22
@Sparkss22 Жыл бұрын
this is popularity based or content based???
@abex8713
@abex8713 6 ай бұрын
Does it have UI
@asishkottakota3920
@asishkottakota3920 Жыл бұрын
@Dataquest i am unable to get the widget
@maglionejm
@maglionejm 2 жыл бұрын
It would be very interesting to build a web application with Flask for the search engine. Could you show that in your next video? Also, it would be awesome to make an API with the generated model... What do you think? Using pickle perhaps?
@Dataquestio
@Dataquestio 2 жыл бұрын
Hi Juan - I'll take a look at doing this as a part 2 video. You could make an API for sure - I would look into this - www.django-rest-framework.org/ .
@SoundofSilence1
@SoundofSilence1 2 жыл бұрын
@@Dataquestio it would be really great if you could show us how to build a web app with the same.
@devzaks8912
@devzaks8912 Жыл бұрын
My own concern is how to make an API with the model. Then we can make requests to it with a movie and get recommendations. Please anyone that has done this should let me know 😔
@user-kb3id2kd2y
@user-kb3id2kd2y Жыл бұрын
sir i want synopsis of this project asap
@Shankara018
@Shankara018 Жыл бұрын
can i add this project in my portfolio?
@Dataquestio
@Dataquestio Жыл бұрын
You definitely can. I'd recommend following some of the next steps and building the project out a little more on your own, though.
@vijayarun_8579
@vijayarun_8579 7 ай бұрын
what does the similar_user_recs.index gives ? anyone please text if know
Predict The Stock Market With Machine Learning And Python
35:55
Dataquest
Рет қаралды 671 М.
How does Netflix recommend movies? Matrix Factorization
32:46
Serrano.Academy
Рет қаралды 339 М.
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 6 МЛН
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 78 МЛН
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 54 МЛН
Solving real world data science tasks with Python Pandas!
1:26:07
Keith Galli
Рет қаралды 1,5 МЛН
Build a Spotify-Like Music Recommender System in Python
31:25
Valerio Velardo - The Sound of AI
Рет қаралды 37 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 282 М.
Python RAG Tutorial (with Local LLMs): AI For Your PDFs
21:33
pixegami
Рет қаралды 209 М.
Building a Recommendation System in Python
13:52
Spencer Pao
Рет қаралды 72 М.
Recommender Systems: Basics, Types, and Design Consideration
58:46
Data Science Dojo
Рет қаралды 22 М.
Predict Football Match Winners With Machine Learning And Python
44:43
Building a recommendation system using deep learning
26:24
Abhishek Thakur
Рет қаралды 101 М.
Building a Machine Learning App in Python with Streamlit
59:21
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 6 МЛН