Understanding the political opinion of Sri Lankans through deep learning based social media data analysis

dc.contributor.advisorRanathunga S
dc.contributor.authorAmeen AA
dc.date.accept2022
dc.date.accessioned2022
dc.date.available2022
dc.date.issued2022
dc.description.abstractWith the rising popularity of social media usage, the data generated through it has significantly increased. By focusing critically on these data, certain patterns, traits and opinions can be obtained which can be used for the betterment of the society. This research focuses on finding out the possibility of understanding the political opinion of the country based on these social media data. Understanding the impact of these data will prompt the public to use these platforms to a greater effect thus guiding the decision-makers to make better and informed decisions. To achieve the above objective English and Sinhala comments from 60 posts from six prominent politicians in Sri Lanka were collected from November 2019 to December 2021. These data was then annotated as positive, negative or neutral sentiments. 6591 annotated comments were used to fine-tune the XLM-RoBERTa (XLM-R) pretrained model for a text classification task. XLM-R is the new state-of-the-art multilingual masked language model which performs exceptionally well in cross-lingual understanding. To improve the performance of the baseline model a novel approach of adding the context of the comment as a feature in the comment is proposed in the thesis. The XLM-R baseline model achieved an F1 score of 79% while the model using politicians' representation in parliament as a context obtained an F1 score of 91%. The models performed exceptionally well for unseen data as well, when tested with data related to politicians not considered in the training data, the model reported an F1 score of 86%. Predicting the sentiments using the best model for the latest posts of the six main politicians in the study, the current opinion of the people was derived. Based on it, the Government representatives President Gotabaya Rajapaksha, Prime Minster Mahinda Rajapaksha, and Former President Maithripala Sirisena obtained negative sentiments while Opposition MPs Sajith Premadasa and Anura Kumara obtained positive sentiments.en_US
dc.identifier.accnoTH4978en_US
dc.identifier.citationAmeen, A.A. (2022). Understanding the political opinion of Sri Lankans through deep learning based social media data analysis [Master's theses, University of Moratuwa]. Institutional Repository University of Moratuwa. http://dl.lib.uom.lk/handle/123/21593
dc.identifier.degreeMSc In Computer Science and Engineeringen_US
dc.identifier.departmentDepartment of Computer Science and Engineeringen_US
dc.identifier.facultyEngineeringen_US
dc.identifier.urihttp://dl.lib.uom.lk/handle/123/21593
dc.language.isoenen_US
dc.subjectPOLITICAL OPINIONS – Sri Lankaen_US
dc.subjectDEEP LEARNINGen_US
dc.subjectSOCIAL MEDIA DATA ANALYSISen_US
dc.subjectCOMPUTER SCIENCE & ENGINEERING -Dissertationen_US
dc.subjectCOMPUTER SCIENCE -Dissertationen_US
dc.subjectINFORMATION TECHNOLOGY -Dissertationen_US
dc.titleUnderstanding the political opinion of Sri Lankans through deep learning based social media data analysisen_US
dc.typeThesis-Abstracten_US

Files

Original bundle

Now showing 1 - 3 of 3
Loading...
Thumbnail Image
Name:
TH4978-1.pdf
Size:
152.49 KB
Format:
Adobe Portable Document Format
Description:
Pre-Text
Loading...
Thumbnail Image
Name:
TH4978-2.pdf
Size:
144.91 KB
Format:
Adobe Portable Document Format
Description:
Post-Text
Loading...
Thumbnail Image
Name:
TH4978.pdf
Size:
972.67 KB
Format:
Adobe Portable Document Format
Description:
Full-theses