I'm building a movie recommendation system based on genre, where the user will enter his choice and will receive recommendations based on his choice: Column Name: &quot;Genres&quot; //This will contain the genres of movies
User genre: &quot;Action Adventure&quot;
I want to perform cosine similarity on this data, compare user genre with genres of different movies, sort and display the names of movies having similar genre. How should I do it?
First of all, your question is very general and missing crucial information - you should highlight which language and dataset you are planning to use. You should also include it in tags of the post.
Anyway, I suppose that you are working with one of the IMDB datasets. I can personally recommend this article and this article. The authors explain the basic techniques how to build a recommender system in Python using scikit-learn library including cosine similarity.