Navigation Menu

Search code, repositories, users, issues, pull requests..., provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications You must be signed in to change notification settings

This project demonstrates a comprehensive approach to sentiment analysis using the IMDB movie review dataset. By leveraging deep learning techniques with Keras and GloVe word embeddings, the model classifies reviews into positive and negative sentiments.

rishimule/Sentiment-Analysis-of-Movie-Reviews

Folders and files.

NameName
3 Commits

Repository files navigation

Sentiment analysis on movie review data.

This project aims to perform sentiment analysis on the IMDB movie review dataset. It utilizes deep learning techniques, particularly LSTM and Conv1D layers, to classify movie reviews into positive and negative sentiments. The model is built using Keras and GloVe embeddings for word representations.

Project Structure

  • Sentiment Analysis of Movie Review using Keras.ipynb : The main notebook containing code for data preprocessing, model building, training, and evaluation.
  • dataSentimental/IMDB Dataset/IMDB Dataset.csv : The dataset containing movie reviews.
  • dataSentimental/glove/glove.840B.300d.pkl : Pre-trained GloVe embeddings used for word representation.
  • trained_model/Sentiment_Analysis/imdb_model.h5 : The saved model after training.

Libraries Used

  • TensorFlow & Keras
  • scikit-learn

Key Features

  • Data Preprocessing : Handling missing values, encoding labels, and data cleaning to remove unwanted characters and contractions.
  • Data Visualization : Visualizing the most frequent words in positive and negative reviews using WordCloud.
  • GloVe Embeddings : Using pre-trained GloVe embeddings to enhance the model's understanding of word semantics.
  • Model Architecture : A combination of Conv1D, LSTM, and Dense layers with dropout for reducing overfitting.
  • Model Evaluation : Evaluating model performance using metrics like accuracy and loss.

Clone the repository:

Navigate to the project directory:

Install the required libraries:

Run the Jupyter notebook Sentiment Analysis of Movie Review using Keras.ipynb to preprocess data, train the model, and evaluate its performance.

The model achieved a training accuracy of X% and a validation accuracy of Y%. The loss and accuracy plots indicate the model's learning curve over the epochs.

  • Hashir Khan

This project is licensed under the MIT License - see the LICENSE file for details.

  • Python 100.0%

Sentiment Analysis of IMDb Movie Reviews: A Comparative Analysis of Feature Selection and Feature Extraction Techniques

  • Conference paper
  • First Online: 04 March 2022
  • Cite this conference paper

sentiment analysis on movie review ppt

  • Gahina Karak 16 ,
  • Shubham Mishra 16 ,
  • Arkadyuti Bandyopadhyay 16 ,
  • Pavirala Ranga Sai Rohith 16 &
  • Hemant Rathore 16  

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 420))

Included in the following conference series:

  • International Conference on Hybrid Intelligent Systems

767 Accesses

1 Citations

Humans are social animals who are dependent on the opinions and experiences of others when it comes to choosing a product for themselves. Most people need to seek the reviews of products like movies, web series, and video games before trying them out themselves. It becomes difficult for an average person to scour the correct information because of the large number of reviews present on the internet. Sentiment analysis is often used to obtain helpful information about a review and classify it into positive or negative sentiment. Our main goal in this paper is to construct sentiment analysis models using different feature extraction (count vectorization, TF-IDF, and Word2Vec) and feature selection (mutual information gain and Chi-square) techniques on textual movie reviews. We also study the performance of various classification algorithms for constructing sentiment analysis models over several metrics. We obtained the highest accuracy of \(90\%\) with TF-IDF Vectorization, Chi2 feature selection, and SVM classification algorithm. We also found that feature selection drastically reduces the train test time for almost all the classification models without severely impacting other performance metrics.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save.

  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
  • Available as EPUB and PDF
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

sentiment analysis on movie review ppt

A Comparative Study of Feature Selection and Machine Learning Methods for Sentiment Classification on Movie Data Set

sentiment analysis on movie review ppt

Optimal Feature Selection for Sentiment Analysis

sentiment analysis on movie review ppt

Lexical TF-IDF: An n-gram Feature Space for Cross-Domain Classification of Sentiment Reviews

Bandana, R.: Sentiment analysis of movie reviews using heterogeneous features. In: 2018 2nd International Conference on Electronics, Materials Engineering & Nano-Technology (IEMENTech), pp. 1–4. IEEE (2018)

Google Scholar  

Casalino, G., Cuzzocrea, A., Bosco, G.L., Maiorana, M., Pilato, G., Schicchi, D.: A novel approach for supporting italian satire detection through deep learning. In: International Conference on Flexible Query Answering Systems, pp. 170–181. Springer (2021)

Chiny, M., Chihab, M., Bencharef, O., Chihab, Y.: Lstm, vader and tf-idf based hybrid sentiment analysis model. Int. J. Adv. Comput. Sci. Appl. (IJACSA) 12 (7) (2021)

Chu, C.H., Wang, C.A., Chang, Y.C., Wu, Y.W., Hsieh, Y.L., Hsu, W.L.: Sentiment analysis on Chinese movie review with distributed keyword vector representation. In: 2016 Conference on Technologies and Applications of Artificial Intelligence (TAAI), pp. 84–89. IEEE (2016)

Daeli, N.O.F., Adiwijaya, A.: Sentiment analysis on movie reviews using information gain and k-nearest neighbor. J. Data Sci. Appl. 3 (1), 1–7 (2020)

Ghanem, B., Karoui, J., Benamara, F., Rosso, P., Moriceau, V.: Irony detection in a multilingual context. Adv. Inf. Retrieval 12036 , 141 (2020)

Kumar, H., Harish, B., Darshan, H.: Sentiment analysis on imdb movie reviews using hybrid feature extraction method. Int. J. Interact. Multimed. Artif. Intell. 5 (5), 109–114 (2019)

Maas, A.L., Daly, R.E., Pham, P.T., Huang, D., Ng, A.Y., Potts, C.: Learning word vectors for sentiment analysis. In: 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, pp. 142–150. ACL, June 2011

Mahyarani, M., Adiwijaya, A., Al Faraby, S., Dwifebri, M.: Implementation of sentiment analysis movie review based on imdb with naive bayes using information gain on feature selection. In: 2021 3rd International Conference on Electronics Representation and Algorithm (ICERA), pp. 99–103. IEEE (2021)

Mesnil, G., Mikolov, T., Ranzato, M., Bengio, Y.: Ensemble of generative and discriminative techniques for sentiment analysis of movie reviews. arXiv preprint arXiv:1412.5335 (2014)

Pang, B., Lee, L., Vaithyanathan, S.: Thumbs up? sentiment classification using machine learning techniques. arXiv preprint cs/0205070 (2002)

Pouransari, H., Ghili, S.: Deep learning for sentiment analysis of movie reviews. CS224N Proj, pp. 1–8 (2014)

Rahman, A., Hossen, M.S.: Sentiment analysis on movie review data using machine learning approach. In: 2019 International Conference on Bangla Speech and Language Processing (ICBSLP), pp. 1–4. IEEE (2019)

Sahu, T.P., Ahuja, S.: Sentiment analysis of movie reviews: a study on feature selection & classification algorithms. In: 2016 International Conference on Microelectronics, Computing and Communications (MicroCom), pp. 1–6. IEEE (2016)

Sharma, Y., Mandalam, A.V.: Irony detection in non-english tweets. In: 2021 6th International Conference for Convergence in Technology (I2CT), pp. 1–6. IEEE (2021)

Shaukat, Z., Zulfiqar, A.A., Xiao, C., Azeem, M., Mahmood, T.: Sentiment analysis on imdb using lexicon and neural networks. SN Appl. Sci. 2 (2), 1–10 (2020)

Article   Google Scholar  

Singh, V.K., Piryani, R., Uddin, A., Waila, P.: Sentiment analysis of movie reviews: A new feature-based heuristic for aspect-level sentiment classification. In: 2013 International Mutli-Conference on Automation, Computing, Communication, Control and Compressed Sensing (iMac4s), pp. 712–717. IEEE (2013)

Download references

Author information

Authors and affiliations.

Department of CS & IS, Goa Campus, BITS Pilani, Goa, India

Gahina Karak, Shubham Mishra, Arkadyuti Bandyopadhyay, Pavirala Ranga Sai Rohith & Hemant Rathore

You can also search for this author in PubMed   Google Scholar

Corresponding author

Correspondence to Gahina Karak .

Editor information

Editors and affiliations.

Scientific Network for Innovation and Research Excellence, Machine Intelligence Research Labs (MIR Labs), Auburn, WA, USA

Ajith Abraham

Campus Centre de Créteil, Université Paris-Est Créteil, Créteil, France

Patrick Siarry

Department of Computer Science, Università degli Studi di Milano, Milan, Milano, Italy

Vincenzo Piuri

Niketa Gandhi

University of Bari, Bari, Italy

Gabriella Casalino

Division of Graduate Studies and Research, Tijuana Institute of Technology, Tijuana, Mexico

Oscar Castillo

Ontario Tech University, Oshawa, ON, Canada

Patrick Hung

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Cite this paper.

Karak, G., Mishra, S., Bandyopadhyay, A., Rohith, P.R.S., Rathore, H. (2022). Sentiment Analysis of IMDb Movie Reviews: A Comparative Analysis of Feature Selection and Feature Extraction Techniques. In: Abraham, A., et al. Hybrid Intelligent Systems. HIS 2021. Lecture Notes in Networks and Systems, vol 420. Springer, Cham. https://doi.org/10.1007/978-3-030-96305-7_27

Download citation

DOI : https://doi.org/10.1007/978-3-030-96305-7_27

Published : 04 March 2022

Publisher Name : Springer, Cham

Print ISBN : 978-3-030-96304-0

Online ISBN : 978-3-030-96305-7

eBook Packages : Intelligent Technologies and Robotics Intelligent Technologies and Robotics (R0)

Share this paper

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

  • Publish with us

Policies and ethics

  • Find a journal
  • Track your research

Logo

Sentiment Analysis

What do you think of this template.

Add to Favourites

Product details

Sentiment analysis is the process of detecting positive or negative sentiment in text. It’s often used by businesses to detect sentiment in social data, gauge brand reputation, and understand customers. Since customers express their thoughts and feelings more openly than ever before, sentiment analysis is becoming an essential tool to monitor and understand that sentiment. Automatically analyzing customer feedback, such as opinions in survey responses and social media conversations, allows brands to learn what makes customers happy or frustrated. This helps to tailor products and services to meet the needs of its customers. Sentiment analysis models focus on polarity (positive, negative, neutral) but also on feelings and emotions (angry, happy, sad), urgency (urgent, not urgent) and even intentions (interested v. Not interested). Depending on how you want to interpret customer feedback and queries, you can define and tailor your categories to meet your sentiment analysis needs. There are the following types of analysis – Fine-grained Sentiment Analysis, Emotion detection, Aspect-based Sentiment Analysis, Multilingual sentiment analysis. There are different algorithms you can implement in sentiment analysis models, depending on how much data you need to analyze, and how accurate you need your model to be. Sentiment analysis algorithms fall into one of three buckets – Rule-based, Automatic, Hybrid.

The first slide of the template contains seven categories of user moods. These categories include Bored, Suprised, Worried, Confused, Calm, Good, Happiness. You can use this slide while preparing your social media ad launch marketing strategy. The slides will be useful for marketing managers in their daily work. The second slide allows you to show an analysis of customer attitudes towards various characteristics of your product. For example, you can indicate the number of customers who are not satisfied with the conditions of comfort and food, prices and services. For each product category, you can change the size of the circle. At the bottom of the slide, you can indicate the percentage of satisfied and unsatisfied customers. The third slide allows you to present your customer sentiment analysis results. You can indicate the wishes of customers to improve the product. The last slide contains various infographics. You can indicate the percentage of satisfaction with your product or the number of respondents who participated in the survey. This slide immediately grabs the audience’s attention with its bright and unusual infographics.

Sentiment Analysis template will be primarily useful for advertising and social media professionals. The variety of functional infographics and emoticons makes this template memorable. Your audience will be discussing the topic of your report for a long time. All template elements are easily customizable in size and color. You can easily combine template slides with other slides in your presentations. The template slides can be used by HR professionals to compile a company satisfaction report. Teachers of different courses can include template slides in their presentations. Sentiment Analysis Template will be a worthy addition to your collection of professional presentations.

Related Products

Cohort Analysis

Cohort Analysis

Speedometer KPI Charts

Speedometer KPI Charts

SEO-Slides-Template

Creative Jigsaw Puzzle Pieces

Data Science Template

Data Science

DuPont Bradley Curve

DuPont Bradley Curve

Email-Journey-Mapping-Template

Email Journey Mapping

sentiment analysis on movie review ppt

The Marketing Mix

Cluster Diagram

Cluster Diagram

Data Lake Architecture

Data Lake Architecture

You dont have access, please change your membership plan., great you're all signed up..., verify your account.

PowerSlides.com will email you template files that you've chosen to dowload.

Please make sure you've provided a valid email address! Sometimes, our emails can end up in your Promotions/Spam folder.

Simply, verify your account by clicking on the link in your email.

IMAGES

  1. Sentiment Analysis On IMDB Movie Review

    sentiment analysis on movie review ppt

  2. Sentiment Analysis of movie reviews using SentiWordNet Approach

    sentiment analysis on movie review ppt

  3. The movie review sentiment analysis model.

    sentiment analysis on movie review ppt

  4. Lais/Sentiment-Analysis-on-Movie-Reviews at main

    sentiment analysis on movie review ppt

  5. Gauge Sentiment Analysis PowerPoint Template

    sentiment analysis on movie review ppt

  6. Sentiment Analysis PowerPoint and Google Slides Template

    sentiment analysis on movie review ppt

VIDEO

  1. ppt about sentiment analysis of social media presence

  2. Exploring the Power of Video Essays in Film Criticism

  3. Greatest action films

  4. How to Analyse a Film’s Narrative

  5. Text Analytics-23 Sentiment Analysis: Concept & Packages

  6. R & Python

COMMENTS

  1. Sentiment Analysis in Action: A Case Study with Movie Reviews ...

    The chosen battleground for our sentiment analysis adventure is the IMDB dataset, a curated collection of movie reviews labeled with sentiment scores. Each review is associated with a sentiment ...

  2. IMDb Movie Review Sentiment Analysis

    IMDb movie review sentiment analysis - Free download as Powerpoint Presentation (.ppt / .pptx), PDF File (.pdf), Text File (.txt) or view presentation slides online. This document presents an IMDb web scraping and data analysis project. The project scrapes over 3,500 movie records from IMDb, including details like title, genre, year, ratings, budget, and reviews.

  3. PDF Sentiment'Analysis

    Twitter'sentiment'versus'Gallup'Poll'of' ConsumerConfidence Brendan O'Connor, Ramnath Balasubramanyan, Bryan R. Routledge, and Noah A. Smith. 2010.

  4. PDF Sentiment analysis of IMDb reviews

    The report utilizes a methodology to conduct the analysis of the sentiment analysis of IMDb reviews, as shown in Fig. 1. First, the report illustrates and feeds the data into the data cleaning and preprocess. Next, the report removes the stop words and some irrelevant words from the original data; then, the vectorization techniques are applied ...

  5. Sentiment Analysis

    Maybe you're interested in knowing whether movie reviews are positive or negative, companies use sentiment analysis in a variety of settings, particularly for marketing purposes. Uses include social media monitoring, brand monitoring, customer feedback, customer service and market research ("Sentiment Analysis"). This post will cover:

  6. PDF Sentiment Analysis for Movie Reviews

    Using sentiment analysis, we can find the state of mind of the reviewer while providing the review and understand if the person was "happy", "sad", "angry" and so on. In this project we aim to use Sentiment Analysis on a set of movie reviews given by reviewers and try to understand what their overall reaction to the movie was, i.e ...

  7. PDF Sentiment Analysis on Movie Reviews

    Sentiment analysis of the review data set will be done by two methods: Nave. ï. Bayes classier and decision tree classi er. Data set used is a set of 500 IMDB. fi fi. movie reviews (half positive and half negative reviews). First, the data set will be read using pandas and data frame will be used for further processing.

  8. PDF Sentiment Analysis on Movie Reviews using Recursive and Recurrent

    We use the IMDB movie review dataset provided by Maas et. al. [1]. We train the word vectors on this corpus using the skip-gram architecture. Note that [1] is specifically about learning word vectors for sentiment analysis. As mentioned earlier, we intend to use standard, off-the-shelf vectors along with a novel architecture.

  9. Analyzing Movie Review Sentiments with Python, NLTK, and ...

    In the digital age, understanding public sentiment towards movies is of paramount importance to filmmakers, critics, and movie enthusiasts. Sentiment analysis, a subfield of natural language…

  10. PDF Deep learning for sentiment analysis of movie reviews

    The labeled data set consists of 50,000 IMDB movie reviews, specially selected for sentiment analysis. The sentiment of reviews is binary, meaning the IMDB rating <5 results in a sentiment score of 0, and rating 7 have a sentiment score of 1. No individual movie has more than 30 reviews. The 25,000 review labeled training set does not include ...

  11. rishimule/Sentiment-Analysis-of-Movie-Reviews

    This project aims to perform sentiment analysis on the IMDB movie review dataset. It utilizes deep learning techniques, particularly LSTM and Conv1D layers, to classify movie reviews into positive and negative sentiments. The model is built using Keras and GloVe embeddings for word representations.

  12. PDF Sentiment Analysis of Movie Review Comments

    Movie reviews have been used before for sentiment analysis. We expect that comments express the same range of opinions and sub-jectivity as the movie reviews. The main difference between the movie reviews and Digg comments is length of the text. Typical comment is only one or couple of sentences short, and is usually narrowly focused on a ...

  13. PDF Vector-based Sentiment Analysis of Movie Reviews

    sion in natural language processing. Movie reviews are a convenient source of highly polarized sentences for use in sentiment analysis. Achieving a high level of accuracy in the sign of non-neutral sentiment is a challenge. When the problem is ex-panded to choosing one of 5 sentiment levels the problem becomes significantly harder.

  14. How to Predict Sentiment from Movie Reviews Using Deep Learning (Text

    Sentiment analysis is a natural language processing problem where text is understood, and the underlying intent is predicted. In this post, you will discover how you can predict the sentiment of movie reviews as either positive or negative in Python using the Keras deep learning library. After reading this post, you will know: About the IMDB sentiment analysis problem for…

  15. Sentiment Analysis of IMDb Movie Reviews: A Comparative Analysis of

    There have been several studies on sentiment analysis of movie reviews. One of the earliest studies on this topic was by Pang Lee et al. where they discussed ML techniques along with N-gram model for identifying best features that were used for sentiment analysis [].Rahman et al. described the possible ways of applying ML algorithms for sentiment analysis on a Bengali movie review dataset [].

  16. Sentiment Analysis on Movie Reviews

    Classify the sentiment of sentences from the Rotten Tomatoes dataset. Kaggle uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more. OK, Got it. Something went wrong and this page crashed! If the issue persists, it's likely a problem on our side.

  17. PDF Sentiment Analysis of IMDB Movie Reviews

    the movie based on reviews, sentiment analysis comes into picture. Sentiment analysis is the interpretation and classification of emotions within text data using text analysis techniques. Sentiment analysis allows businesses to identify customer sentiment toward products, brands or services in online conversations and feedback. Sentiment ...

  18. Sentiment Analysis

    Sentiment analysis algorithms fall into one of three buckets - Rule-based, Automatic, Hybrid. The first slide of the template contains seven categories of user moods. These categories include Bored, Suprised, Worried, Confused, Calm, Good, Happiness. You can use this slide while preparing your social media ad launch marketing strategy.