A content based movie recommender system using cosine similarity
##Demo
- Clone this repository in your local system.
- Install all the libraries mentioned in the [requirements.txt] file with the command
pip install -r requirements.txt
. - Find
movie_list.pkl
andsimilarity.pkl
files fromMovie.ipynp
notebook. - Open your terminal/command prompt from your project directory and run the
app.py
file by executing the commandstreamlit run app.py
. - Go to your browser and type
http://localhost:8501
in the address bar. - Hurray! That's it.
Cosine similarity is a metric used to measure how similar the documents are irrespective of their size. Mathematically, it measures the cosine of the angle between two vectors projected in a multi-dimensional space. The cosine similarity is advantageous because even if the two similar documents are far apart by the Euclidean distance (due to the size of the document), chances are they may still be oriented closer together. The smaller the angle, higher the cosine similarity.