Sentiment Analysis on IMDB Reviews leveraging Transfer Learning and Neural Network Models via Keras API

dc.contributor.authorKharmandar, Armita
dc.contributor.supervisorAmirali Baniasadi
dc.date.accessioned2024-09-26T21:04:00Z
dc.date.available2024-09-26T21:04:00Z
dc.date.issued2024-09-13
dc.degree.departmentDepartment of Electrical and Computer Engineering
dc.degree.levelMaster of Engineering MEng
dc.description.abstractThis project focuses on sentiment analysis using a pre-labeled IMDB dataset containing 50,000 movie reviews. Our approach leverages transfer learning and a pre-trained neural network from TensorFlow Hub, specifically the NNLM model, to streamline the preprocessing stage. The sentiment classification model is built using the Keras API with a Sequential architecture. To design the model, several attempts have been made to improve the performance and overall accuracy and the finalized model includes first layer of an embedding layer that utilizes the pre-trained NNLM embeddings, followed by a three-layer network consisting of dense layer, dropout layer and another dense layer for classification respectively. To compile the model, Adam optimizer and binary cross-entropy loss are defined while achieving an accuracy of almost 88%. In addition to this deep learning model, traditional sentiment analysis algorithms such as logistic regression, random forest, and SVM were also trained for comparison. Each attempt’s output is visualized and finally in conclusion part it is discussed which of the models output the desired performance considering two factors of efficiency and accuracy. The results highlight that by incorporating transfer learning and Keras API, the overall model complexity and computational cost were significantly reduced while maintaining competitive accuracy.
dc.description.scholarlevelGraduate
dc.identifier.urihttps://hdl.handle.net/1828/20457
dc.language.isoen
dc.rightsAvailable to the World Wide Web
dc.rightsCC0 1.0 Universalen
dc.rights.urihttp://creativecommons.org/publicdomain/zero/1.0/
dc.subjectSentiment analysis + Transfer Learning + Neural Network + Keras API + Efficient + Logistic Regression + Support Vector Machine + Random Forrest
dc.titleSentiment Analysis on IMDB Reviews leveraging Transfer Learning and Neural Network Models via Keras API
dc.typeproject

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Kharmandar_Armita_MEng_2024.pdf
Size:
1.21 MB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.62 KB
Format:
Item-specific license agreed upon to submission
Description: