- Technology Stack
- Navigating Through The App
- Prerequisites
- Installation
- Recommendations System
- Useful Links
- Resources
- Support and Contact
- Python used in data processing for recommendations.
- Flask for backend.
- Firebase was used for the database for sign up and sign in.
- HTML, CSS and JavaScript for frontend.
- Python
- TMDB API Key
Register to the application via email and password.
After signing up in, users can now log in using their registered email and password.
The Home window appers where the users can search for their favourite shows, views movies and TV shows sorted according to their genres.
Users can search any movie easily using the search bar with an autocomplete feature and get all the information like genres, release date, overview, etc. about that movie.
After searching a movies the page is rendered to view all the information about that movie like genres, release date, overview cast etc.
Users can get information about the any cast member by clicking on their respective card.
Users can also find the sentiment anlysis of movie the reviews given by the people who've already watched the movie.
Users are also recommended movies of similar kind as their search using content-based filtering.
The movies are displayed in various catalogues based on their different genres.
Users can also find the most-trending movies on the home page.
Finally users can logout using the logout button in the navbar.
To use this project, follow the steps below:
Initialise git on your terminal.
git init
git clone https://github.com/ShubhiYadav03/Cinefy-App.git
pip install -r requirements.txt
Get your API key from https://www.themoviedb.org/ -Create an account in https://www.themoviedb.org/ -Click on the API link from the left hand sidebar in your account settings and fill all the details to apply for API key. -If you are asked for the website URL, give "NA" if you don't have one. -You will see the API key in your API sidebar once your request is approved.
Replace the value of my_api_key
with your API key in (line no. 15 and 31) of static/recommend.js file and (line no. 8) of static/api.js and hit save.
In order to run the preprocessing files download movies_metadata.csv
and credits.csv
from Kaggle.
Open your terminal/command prompt from your project directory and run the file main.py
by executing the command-
python main.py
Go to your browser and type http://127.0.0.1:5000/ in the address bar.
(Back to top)
Recommendation engines need to know you better to be effective with their suggestion. Therefore, the information they collect and integrate is a critical aspect of the process. This can be information relating to explicit interactions, for example, information about your past activity, your ratings, reviews and other information about your profile, such as gender, age, or investment objectives. These can combine with implicit interactions such as the device you use for access, clicks on a link, location, and dates.
Content-based filtering is a type of recommender system that attempts to guess what a user may like based on that user’s activity.
Content-based filtering makes recommendations by using keywords and attributes assigned to objects in a database (e.g., items in an online marketplace) and matching them to a user profile. The user profile is created based on data derived from a user’s actions, such as purchases, ratings (likes and dislikes), downloads, items searched for on a website and/or placed in a cart, and clicks on product links.
The system decide which item is most similar to the item user likes through the similarity scores.
It is a numerical value ranges between zero to one which helps to determine how much two items are similar to each other on a scale of zero to one. This similarity score is obtained measuring the similarity between the text details of both of the items. So, similarity score is the measure of similarity between given text details of two items. This can be done by cosine-similarity.
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.
More about Cosine Similarity : Understanding the Math behind Cosine Similarity
- IMDB 5000 Movie Dataset
- The Movies Dataset
- List of movies in 2018
- List of movies in 2019
- List of movies in 2020
(Back to top)
- Recommendation System
- TMDB API
- Getting started with Firebase Authentication
- Web Development using Flask
Feel free to contact me on [email protected]