How to evaluate sentiment classifiers for Twitter time-ordered data?

被引:20
|
作者
Mozetic, Igor [1 ]
Torgo, Luis [2 ,3 ]
Cerqueira, Vitor [2 ]
Smailovic, Jasmina [1 ]
机构
[1] Jozef Stefan Inst, Dept Knowledge Technol, Ljubljana, Slovenia
[2] INESC TEC, Porto, Portugal
[3] Univ Porto, Fac Sci, Porto, Portugal
来源
PLOS ONE | 2018年 / 13卷 / 03期
关键词
CROSS-VALIDATION; SELECTION;
D O I
10.1371/journal.pone.0194317
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
Social media are becoming an increasingly important source of information about the public mood regarding issues such as elections, Brexit, stock market, etc. In this paper we focus on sentiment classification of Twitter data. Construction of sentiment classifiers is a standard text mining task, but here we address the question of how to properly evaluate them as there is no settled way to do so. Sentiment classes are ordered and unbalanced, and Twitter produces a stream of time-ordered data. The problem we address concerns the procedures used to obtain reliable estimates of performance measures, and whether the temporal ordering of the training and test data matters. We collected a large set of 1.5 million tweets in 13 European languages. We created 138 sentiment models and out-of-sample datasets, which are used as a gold standard for evaluations. The corresponding 138 in-sample data-sets are used to empirically compare six different estimation procedures: three variants of cross-validation, and three variants of sequential validation (where test set always follows the training set). We find no significant difference between the best cross-validation and sequential validation. However, we observe that all cross-validation variants tend to overestimate the performance, while the sequential methods tend to underestimate it. Standard cross-validation with random selection of examples is significantly worse than the blocked cross-validation, and should not be used to evaluate classifiers in time-ordered data scenarios.
引用
收藏
页数:20
相关论文
共 50 条
  • [1] Evaluation of Ensemble-based Sentiment Classifiers for Twitter Data
    Troussas, Christos
    Krouska, Akrivi
    Virvou, Maria
    2016 7TH INTERNATIONAL CONFERENCE ON INFORMATION, INTELLIGENCE, SYSTEMS & APPLICATIONS (IISA), 2016,
  • [2] TIME-ORDERED CLASSIFICATION
    HINKLEY, DV
    BIOMETRIKA, 1972, 59 (03) : 509 - 523
  • [3] Dynamic Regression Models for Time-Ordered Functional Data
    Kowal, Daniel R.
    BAYESIAN ANALYSIS, 2021, 16 (02): : 459 - 487
  • [4] Analyzing time-ordered event data with missed observations
    Dokter, Adriaan M.
    van Loon, E. Emiel
    Fokkema, Wimke
    Lameris, Thomas K.
    Nolet, Bart A.
    van der Jeugd, Henk P.
    ECOLOGY AND EVOLUTION, 2017, 7 (18): : 7362 - 7369
  • [5] NLP Based Sentiment Analysis on Twitter Data Using Ensemble Classifiers
    Kanakaraj, Monisha
    Guddeti, Ram Mohana Reddy
    2015 3RD INTERNATIONAL CONFERENCE ON SIGNAL PROCESSING, COMMUNICATION AND NETWORKING (ICSCN), 2015,
  • [6] Crosswalk - a time-ordered metric
    Koutny, T.
    EMBEC & NBC 2017, 2018, 65 : 884 - 887
  • [7] A wavelet analysis of CMB time-ordered data applied to Archeops
    Macías-Pérez, J.F.
    Bourrachot, A.
    Astronomy and Astrophysics, 1600, 459 (03): : 987 - 1000
  • [8] A note on time-ordered classification
    He, H.
    BIOMETRIKA, 2009, 96 (01) : 248 - 248
  • [9] COMPLETENESS OF TIME-ORDERED INDICATORS IN CENSORED-DATA MODELS
    MOSER, M
    STATISTICS & PROBABILITY LETTERS, 1994, 21 (02) : 163 - 166
  • [10] A wavelet analysis of CMB time-ordered data applied to Archeops
    Macias-Perez, J. F.
    Bourrachot, A.
    ASTRONOMY & ASTROPHYSICS, 2006, 459 (03) : 987 - 1000