Project 3:Movie Recomendation using python
Basicly there are two types of recomendation system content based filtering colaborative filtering you can google out this and get to know about it i am here basicly to put down the projects and code so all what we do is predict the movie for the customer using the angular distance (we can calculate using two method ie. euclidian diatance and angular distance) according to the problem you have to decide which one will be suitable for the project i think this much description is ell and good lets cary on with the codes so are you ready? this is the basic code to get the matrix of the text realation ,i mean the realtion between the words in two sentence. from sklearn.feature_extraction.text import CountVectorizer from sklearn.metrics.pairwise import cosine_similarity text=[ "London Paris London" , "Paris Paris London" ] cv=CountVectorizer() cv_matrix=cv.fit_transform(text) #print(cv_matrix.toarray()) similirity_scor...