Posts

Showing posts from October, 2020

AIML - Recommendation Systems

 Two techniques used Content Based Filterting Based on content recommendation is given to similar users If user1 watches Action & Adventure movies, similarly user2 also sees same. Then new movies watched by User1 will be suggested to User2 based on category of movie.  eg: amazon online shopping Collaborative based filtering identifies behavior of user and categorizes users accordingly. New movies will be suggested based on the other users in group irrespective of the genre/category eg: Netflix, Amazon prime Movie genre(Action, Comedy, Adventure, Romantic) Content based recommendation system design - Movie recommendation system Import data from tmdb(movie details with overview) from sklearn.feature_extraction.text import TfidfVectorizer remove stop words, special chars, remove nan value with blanks fit transform on movies OVERVIEW field to get sparse matrix from sklearn.feature_extraction.text import sigmoid_kernel Note: sigmoid transforms input between 0 t...