Twitter: a good place to detect health conditions.
With the proliferation of social networks and blogs, the Internet is increasingly being used to disseminate personal health information rather than just as a source of information. In this paper we exploit the wealth of user-generated data, available through the micro-blogging service Twitter, to estimate and track the incidence of health conditions in society. The method is based on two stages: we start by extracting possibly relevant tweets using a set of specially crafted regular expressions, and then classify these initial messages using machine learning methods. Furthermore, we selected relevant features to improve the results and the execution times. To test the method, we considered four health states or conditions, namely flu, depression, pregnancy and eating disorders, and two locations, Portugal and Spain. We present the results obtained and demonstrate that the detection results and the performance of the method are improved after feature selection. The results are promising, with areas under the receiver operating characteristic curve between 0.7 and 0.9, and f-measure values around 0.8 and 0.9. This fact indicates that such approach provides a feasible solution for measuring and tracking the evolution of health states within the society.
Department of Information and Communication Technologies, Campus Elviña s/n, Coruña, Spain.
Víctor M
VM
Prieto
University of Aveiro, DETI/IEETA, Campus Universitariá de Santiago, Aveiro, Portugal.
Sérgio
S
Matos
Department of Information and Communication Technologies, Campus Elviña s/n, Coruña, Spain.
Manuel
M
Álvarez
Department of Information and Communication Technologies, Campus Elviña s/n, Coruña, Spain.
Fidel
F
Cacheda
University of Aveiro, DETI/IEETA, Campus Universitariá de Santiago, Aveiro, Portugal.
José Luís
JL
Oliveira
D001185:Artificial Intelligence / Q000706:statistics & numerical data*; D057218:Blogging / Q000706:statistics & numerical data*; D003863:Depression / Q000453:epidemiology; D001068:Feeding and Eating Disorders / Q000453:epidemiology; D005260:Female; D007722:Health Knowledge, Attitudes, Practice; D006801:Humans; D007251:Influenza, Human / Q000453:epidemiology; D011174:Portugal / Q000453:epidemiology; D011247:Pregnancy; D012372:ROC Curve; D013030:Spain / Q000453:epidemiology