Toggle Main Menu Toggle Search

Open Access padlockePrints

Accuracy of a pre-trained sentiment analysis (SA) classification model on tweets related to emergency response and early recovery assessment: the case of 2019 Albanian earthquake

Lookup NU author(s): Dr Diana Contreras Mojica, Professor Sean Wilkinson



This work is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0).


© 2022, The Author(s).Traditionally, earthquake impact assessments have been made via fieldwork by non-governmental organisations (NGO's) sponsored data collection; however, this approach is time-consuming, expensive and often limited. Recently, social media (SM) has become a valuable tool for quickly collecting large amounts of first-hand data after a disaster and shows great potential for decision-making. Nevertheless, extracting meaningful information from SM is an ongoing area of research. This paper tests the accuracy of the pre-trained sentiment analysis (SA) model developed by the no-code machine learning platform MonkeyLearn using the text data related to the emergency response and early recovery phase of the three major earthquakes that struck Albania on the 26th November 2019. These events caused 51 deaths, 3000 injuries and extensive damage. We obtained 695 tweets with the hashtags: #Albania #AlbanianEarthquake, and #albanianearthquake from the 26th November 2019 to the 3rd February 2020. We used these data to test the accuracy of the pre-trained SA classification model developed by MonkeyLearn to identify polarity in text data. This test explores the feasibility to automate the classification process to extract meaningful information from text data from SM in real-time in the future. We tested the no-code machine learning platform's performance using a confusion matrix. We obtained an overall accuracy (ACC) of 63% and a misclassification rate of 37%. We conclude that the ACC of the unsupervised classification is sufficient for a preliminary assessment, but further research is needed to determine if the accuracy is improved by customising the training model of the machine learning platform.

Publication metadata

Author(s): Contreras D, Wilkinson S, Alterman E, Hervas J

Publication type: Article

Publication status: Published

Journal: Natural Hazards

Year: 2022

Volume: 113

Pages: 403-421

Print publication date: 01/08/2022

Online publication date: 23/03/2022

Acceptance date: 24/02/2022

Date deposited: 01/06/2022

ISSN (print): 0921-030X

ISSN (electronic): 1573-0840

Publisher: Springer Nature


DOI: 10.1007/s11069-022-05307-w


Altmetrics provided by Altmetric


Funder referenceFunder name