This Python Project is regarding the Algorithms and the sub-topic covers the [Movie Recommender] which is built based on Machine Learning and Deep Learning. My project helps the users by giving the Movie predictions based on their Taste and choice. This project is built with algorithms that allow the ML model to predict the Movies in 3 different ways which are as follows: (1) Popularity (2) Content-based Filtering Approach (3) Collaborative-based Filtering Approach
Let's see each category in detail and the app flow...
At first the User need to give his user ID and Enter the Movie that he want to watch.The user interfacen of this Window Would look exactly like this...
After giving all the required details and clicking on the Recommend button the user is fetched with 3 main categories of recommendation of movies they are as follows...
In this popularity recommendation, the user will get the top most rated Movies from the entire database and users based on user's ratings. These movies are the same for all the users because these ratings are taken from all the total average users.
This part will look like this:
In this type of recommendation, the movies are fetched based on the similar movie name, genre, cast & crew of the film, category of the movie, etc. when two different users search for the same movie name these results are the same but when two different users search two different movie names the results are different cause here we are taking the movie name as the key component to fetch other movies based on content.
*Here we used the COSINE SIMILARITY Algorithm.
In this type of recommendation, Movies are fetched to users based on collaborative filtering. Here these movies are specific to each user to user. The results are also very specific and unique for different users. For if two users with different User IDs search for the same movie name the results suggested to user 1 is different from user 2.
*Here we are using the MATRIX FACTORIZATION Algorithm Example: This part will exactly look like this if two users with different user ids like user 1: User ID 66 user 2: User Id 98 will search for the same movie spider-man (Movie name and User ID may be of your desired choice )
By above examples you can find there are differnt movie recommendations for differnt users.
As this Model is deployed using the Streamlit framework in Streamlit Cloud we can use this on the Website as well as Android App by making API requests. The interface in Mobile Android App can be viewed in two modes they are:
these views are fine and good in both views...
#Extra features.. Being deployed in Streamlit it can also allow us to change a few extra aspects as shown in the picture both in Mobile App and on Website
import pandas as pd
import streamlit as st
import requests
import bz2
import pickle
import _pickle as cPickle