Machine Learning

Movie recommendation system based on emotion using python

It’s not always easy to pick the right movie to watch. Sometimes you're in the state of mind to see individuals begin to look all starry eyed at, or you need a motion picture to remind your connection with music, or you need to just watch characters to whom you relate or any emotion-based movie. Settling on this decision can't generally be understood by attempting to pick something dependent on genre. This is why we are going to create,  a “Movie recommendation system based on emotion”, which enables us to choose movies based on how you want their viewing experience to make them feel.

Read more..

Movie recommendation system based on emotion using python project Looking to build project on Movie Recommendation using ML?:

Skyfi Labs gives you the easiest way to learn and build this project.

  1. Movie Recommendation using ML Kit will be shipped to you (anywhere in the world!)
  2. Use high quality videos to understand concepts and build the project
  3. Get 1 to 1 expert assistance from Skyfi Labs engineers while doing the project
  4. Earn a smart certificate on finishing the project
You can start for free and pay only if you like it!

Project description

Web Scraping using Python

Web Scraping refers to access the HTML of the webpage and extract useful information and data from it. This method is also called web scratching or web reaping or web information extraction. Here in this task, we are going to utilize web scratching to separate information from the website page utilizing Python and BeautifulSoup. The scraper is written in Python and utilizations lxml for parsing the site pages.


Python lxml is the most feature-rich and simple to-utilize library for processing XML and HTML data. Python contents are composed to perform numerous errands like Web scraping or scratching and parsing XML.


It is a library of python which is utilized to pull the data from the web pages i.e HTML and XML files. It works with your preferred parser to give colloquial methods for exploring, looking and changing the parse tree.

Classify the emotions based and associated with the Genre of Movie

There are 8 classes of feeling that would be compelling to classification to the text. These are: ‘Anger’, ‘Expectation’, ‘Disgust’, ‘Fear’, ‘Bliss’, ‘Sad’, ‘Surprise’, ‘Trust’. Here these are taken as information and the relating motion pictures would be shown for the feeling.

The correspondence of each feeling with the class of films is recorded beneath:

  • Sad – Drama
  • Disgust – Musical
  • Anger – Family
  • Expectation – Thriller
  • Fear – Sport
  • Enjoyment – Thriller
  • Trust – Western
  • Surprise – Film-Noir

How to build Machine Learning projects Did you know

Skyfi Labs helps students learn practical skills by building real-world projects.

You can enrol with friends and receive kits at your doorstep

You can learn from experts, build working projects, showcase skills to the world and grab the best jobs.
Get started today!

Based on the input emotion, the relating classification would be chosen and all the main 5 films of that kind would be prescribed to the client.

Project Implementation

Few  essential steps for accomplishing the objective and step are:

  1. One of the fundamental focuses of movies is to bring out feelings in their watchers. So we have IMDb that offers a variety of movies for all genres or kind. In this manner, the movie titles can be scratched from the IMDb rundown to recommend to the user.
  2. Presently IMDb doesn't have an API for getting to data on motion pictures and TV Series. Accordingly, we need to perform scratching or scraping.
  3. Scraping is utilized for getting to data from a site that is normally finished with APIs i.e utilizing BeautifulSoup which helps in scratching or scraping all the movie titles of the class relating to the information feeling and rundown to the user.
  4. In the wake of Scrapping, the user has to choose the emotion and based on the emotion, it will suggest you the best and top five movies of that genre would be recommended to the user.
  5. Now the user can enjoy the movie according to their mood and emotions.

Software Requirements

Programming Languages - BeautifulSoup and LXML

Latest projects on Machine Learning

Want to develop practical skills on Machine Learning? Checkout our latest projects and start learning for free

Kit required to develop Movie recommendation system based on emotion using python:
Technologies you will learn by working on Movie recommendation system based on emotion using python:
Movie recommendation system based on emotion using python
Skyfi Labs Last Updated: 2022-05-16

Join 250,000+ students from 36+ countries & develop practical skills by building projects

Get kits shipped in 24 hours. Build using online tutorials.

More Project Ideas on Machine-learning

Prediction of compressive strength of concrete by machine learning
Automatic answer evaluation machine
Detection of glaucoma
Detecting Suicidal Tendency using ML
Stock Price Prediction using Machine Learning
Wine Quality Prediction using Linear Regression
Iris Flower Classification using Machine Learning
How to Predict Bigmart Sales with Machine Learning(ML)
Social Media Sentiment Analysis using twitter dataset
Sales Forecasting Using Walmart dataset
Health Care Improvement using Machine Learning
Enron Investigation
Human Activity Recognition
MNIST handwritten digit classification
Moneyball sports analyzer using machine learning
Handwriting reader using Machine Learning
Music Recommendation using Machine Learning
Movie recommendation system based on emotion using python
Vehicle Number Plate detection using Image processing and Machine Learning techniques
Movie success prediction using Data mining
Phishing Site detection using Machine learning
Students Performance Prediction using Machine Learning
Speech Emotion Recognition
Detecting Parkinson's Disease using Machine Learning
Chatbox Machine Learning project
Image Caption Generator
Customer Segmentation
Fraud detection using Machine Learning
AI-based Voice Assistant
Develop A Movie Ticket Pricing System Using Machine Learning
Object detection using Machine Learning
Coronavirus outbreak prediction project using Machine Learning
Breast Cancer Prediction using Machine Learning
House Price Prediction using Machine Learning and Python
Brain Tumour Detection using Deep Learning
Sports predictor using Machine Learning
Handwritten document recognition system using machine learning
Disease Prediction using water quality dataset (ML)
Comment Analysis using NLP
Personality Prediction Project With ML and Python
Design An Online Grocery Recommendation System with ML
Bitcoin Price Prediction using Machine Learning
Road accident analysis using machine learning
Food Image Detection Using CNN and Machine Learning
Loan prediction using machine learning

Subscribe to receive more project ideas

Stay up-to-date and build projects on latest technologies