collaborative filtering using python alrightso let' do itwe have some python code that will use pandasand all the various other tools at our disposalto create movie recommendations with surprisingly little amount of code the first thing we're going to do is show you item-based collaborative filtering in practice sowe'll build up people who watched also watched basicallyyou knowpeople who rated things highly also rated this thing highlyso building up these movie to movie relationships sowe're going to base it on real data that we got from the movielens project soif you go to movielens orgthere' actually an open movie recommender system therewhere people can rate movies and get recommendations for new movies andthey make all the underlying data publicly available for researchers like us sowe're going to use some real movie ratings data-it is little bit datedit' like years oldso keep that in mindbut it is real behavior data that we're going to be working with finally here andwe will use that to compute similarities between movies andthat data in and of itself is useful you can use that data to say people who liked also liked solet' say ' looking at web page for movie the system can then sayif you liked this movieand given that you're looking at it you're probably interested in itthen you might also like these movies and that' form of recommender system right thereeven though we don' even know who you are nowit is real-world dataso we're going to encounter some real-world problems with it our initial set of results aren' going to look goodso we're going to spend little bit of extra time trying to figure out whywhich is lot of what you spend your time doing as data scientist-correct those problemsand go back and run it again until we get results that makes sense and finallywe'll actually do item-based collaborative filtering in its entiretywhere we actually recommend movies to individuals based on their own behavior solet' do thislet' get startedfinding movie similarities let' apply the concept of item-based collaborative filtering to start withmovie similarities-figure out what movies are similar to other movies in particularwe'll try to figure out what movies are similar to star warsbased on user rating dataand we'll see what we get out of it let' dive in