Sou-786 / movie-recommender-system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

movie-recommender-system-tmdb-dataset

A content based movie recommender system using cosine similarity

##Demo

Coding

How to run the project?

  1. Clone this repository in your local system.
  2. Install all the libraries mentioned in the [requirements.txt] file with the command pip install -r requirements.txt.
  3. Find movie_list.pkl and similarity.pkl files from Movie.ipynp notebook.
  4. Open your terminal/command prompt from your project directory and run the app.py file by executing the command streamlit run app.py.
  5. Go to your browser and type http://localhost:8501 in the address bar.
  6. Hurray! That's it.

How Cosine Similarity works?

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.

image

About


Languages

Language:Jupyter Notebook 97.7%Language:Python 2.3%