Machine Learning With Advance Model
Machine Learning With Advance Model
● Sentiment analysis (or opinion mining) Sentiment analysis or opinion mining is the computational
study of people’s opinions, sentiments, attitudes, and emotions expressed in written language. It is a
natural language processing (NLP) technique used to determine whether data is positive, negative or
neutral.
● Sentiment classification is a way to analyze the subjective information in the text and then mine the
opinion. Sentiment analysis is the procedure by which information is extracted from the opinions,
appraisals and emotions of people in regards to entities, events and their attributes.
● It is often performed on textual data to help businesses monitor brand and product sentiment in
customer feedback, and understand customer needs.
● It is used by business and data analyst to detect sentiment in social data, gauge brand reputation, and
understand customers.
● It helps in, first, decision making based on customer or end user opinions have a significant effect on
customers ease, and second, it presents many challenging research problems by studying customer’s
opinions and suggestions.
Methodology
● Data Cleaning: This process involves pre-processing of data, i.e., removal of stop words like as, and, or, as these words do
not contribute much in analysis and removing them reducing data size.
● Categorical Encoding: This involves converting categorical data into numerical one, as machines can only understand
numbers.
● Preparing Data for Model: All sentences in the dataset are converted to a sequence of integers. All sequences have same
length, which is equal to the length of longest sequence in the training dataset.
● Neural Architecture: LSTM (Long Short Term Memory) is used for the processing of the data, here LSTM layer has 32
memory cells or hidden units.
○ Output of Embedding layer is taken as input by each layer.
○ Embedding layer just learns the vector or integer representation for each word. After this mapping of vector of arbitrary
real valued numbers to probability distribution.
● After training phase, model weights are fixed (they are fixed or set as the one which gives highest accuracy for input data). The
model then uses these learned weights to process test data and provide results, which are to predict whether sentence is
positive, negative or neutral.
Flow Chart
Activity Diagram
DATA Flow Diagram
Literature Review
● Universal Facial Expression of Emotions [1]: In 1970, psychologist Paul Ekman and his colleagues Wallace Friesen
published their study on the Universal Expression of emotions. It was based on the
○ Hypothesis: There are six universally recognized emotions: surprise, anger, fear, disgust, sadness, and happiness.
○ Experiment: 30 photographs displaying facial expressions of these six emotions were shown to people living in Brazil,
The United States, Argentina, Chile and Japan to predict the emotions or sentiments associated with the expression.
○ Results: The study proved that certain facial expressions are universally recognized.
● Human Speech Emotion Recognition [2]: Maheshwari Selvaraj research focused on developing efficient and accurate
models to recognize emotions from speech signals.
○ This research involves finding acoustic features which can be used in extracting sentiments of the speaker.
○ This research utilizes techniques like feature extraction, signal processing for analyses of speech signals and recognize
emotions.
○ This research address key challenges associated with speech based sentiment analysis, which are missing data due to
signal loss, inter and intra speaker variability.
● Audio Visual Modalities for Emotion Recognition by De Silva and others [3]: This research describes a multi-modal
approach that combines facial expressions and speech signals, for emotion detection.
○ Feature Extraction: features from both the speech signals and facial expression of the participants while they were
watching emotional video clips are extracted
○ Results: Features extracted were used to train Emotion recognition models. Results showed Bimodal systems results in
higher accuracy than any Unimodal systems.
Literature Review
● Audio Visual Modalities for Emotion Recognition by Chen and others [4]: This research describes a multi-modal sentiment
analysis by using Electroencephalogram (EEG) signals in addition with audio and visual modalities.
○ Feature Extraction: Features from EEG, speech, and facial signals, that were recorded while participants watched an
emotional video clip were recorded.
○ Results: Features extracted were used to train Emotion recognition models. Results showed Bimodal systems results in
higher accuracy than any Unimodal systems.
● Sentiment Analysis in English Texts Arwa Alshamsi [5]: This research involved comparing performances of various Machine
Learning Algorithms for Analysis of Sentiments, like, Support Vector Machines (SVMs), Random Forest, Naïve Bayes, and
Decision Trees.
○ It also evaluated impact of feature selection techniques, like, term-frequency-inverse document frequency (TF-IDF).
Results of the study showed SVM algorithm performed best on the data set consisting of hotel reviews.
○ Results: This research proved the importance of selecting right machine learning algorithm, feature selection technique.
● Sentiment Analysis using Product Review Data by Xing Fang & Justin Zhan [6]: This research involved comparing
performances of various Machine Learning Algorithms for Analysis of Sentiments, like, Support Vector Machines (SVMs),
Random Forest, Naïve Bayes, and Decision Trees.
○ It also evaluated impact of feature selection techniques, like, term-frequency-inverse document frequency (TF-IDF).
Results of the study showed SVM algorithm performed best on the data set consisting of hotel reviews.
○ Results: This research proved the importance of selecting right machine learning algorithm, feature selection technique
Literature Review
● Missing Modality Robust Emotion Recognition Framework by Sun and others [7]: This research aimed at resolving the
problem occur due to missing modalities in emotion recognition, which is due to unavailability of sufficient data.
○ Approach Used: Iterative data augmentation to generate synthetic data that fill the gaps in missing modalities. Repetition
of this process occur iteratively until satisfactory level of performance is gained.
○ Results: This approach is mainly focuses on addressing missing modality problem in sentiment analysis.
● Aspect Based Sentiment Analysis by Tao Yang, Qing Yin, Lei Yang, and Ou Wu [8]: This study aims at improving aspect-
based analysis of sentiment using new target representation and dependency attention.
○ The dependency attention mechanism uses graphical neural networks to model dependency between words in text.
These graph neural networks contain information from both word and target embedding.
○ Results: This study showed the importance of incorporation of target representation and dependency attention mechanism
in aspect based analysis of sentiments
Screenshots
Fig.User Interface
Screenshots
10. A. Metallinou, S. Lee, and S. Narayanan, “Audio-visual emotion recognition using Gaussian
mixture models for face and voice,” in Proc. 10th IEEE Int. Symp. ISM, 2008, pp. 250–257.
11.https://deepai.org/publication/multimodal-sentiment-analysis-addressing-key-issues-and-setting-up-
baselines
12.https://www.researchgate.net/publication/360410424_M2R2_Missing-
Modality_Robust_emotion_Recognition_framework_with_iterative_data_augmentation
13.https://blog-knoldus-com.cdn.ampproject.org/v/s/blog.knoldus.com/what-are-transformers-in-nlp-
and-its-advantages/amp/?amp_gsa=1&_js_v=a9&usqp=mq331AQKKAFQArABIIACAw%3D
%3D#amp_tf=From%20%251%24s&aoh=16706823819170&referrer=https%3A%2F
%2Fwww.google.com&share=https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttps%2Fblog.knoldus.com%2Fwhat-are-transformers-
in-nlp-and-its-advantages%2F