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 条
  • [21] Decomposition of time-ordered products and path-ordered exponentials
    Lam, CS
    JOURNAL OF MATHEMATICAL PHYSICS, 1998, 39 (10) : 5543 - 5558
  • [22] TIME-ORDERED GREENS FUNCTIONS AND ELECTROMAGNETIC INTERACTIONS
    NISHJIMA, K
    PHYSICAL REVIEW, 1961, 122 (01): : 298 - &
  • [23] COVARIANT TIME-ORDERED PERTURBATION-THEORY
    FUDA, MG
    PHYSICAL REVIEW C, 1986, 33 (03): : 996 - 1001
  • [24] Scalable and Real-time Sentiment Analysis of Twitter Data
    Karanasou, Maria
    Ampla, Anneta
    Doulkeridis, Christos
    Halkidi, Maria
    2016 IEEE 16TH INTERNATIONAL CONFERENCE ON DATA MINING WORKSHOPS (ICDMW), 2016, : 944 - 951
  • [25] Real Time Sentiment Change Detection of Twitter Data Streams
    Tasoulis, Sotiris K.
    Vrahatis, Aristidis G.
    Georgakopoulos, Spiros V.
    Plagianakos, Vassilis P.
    2018 INNOVATIONS IN INTELLIGENT SYSTEMS AND APPLICATIONS (INISTA), 2018,
  • [26] Time-Ordered Collaborative Filtering for News Recommendation
    Xiao Yingyuan
    Ai Pengqiang
    Hsu, Ching-Hsien
    Wang Hongya
    Jiao Xu
    CHINA COMMUNICATIONS, 2015, 12 (12) : 53 - 62
  • [27] TIME-ORDERED PRODUCTS AS INDICATRICES OF WIGHTMAN FUNCTIONS
    PFAFFELH.E
    BULLETIN OF THE AMERICAN PHYSICAL SOCIETY, 1971, 16 (08): : 825 - &
  • [28] Process Partitions from Time-Ordered Clusters
    Harnish, Peter
    Nelson, Ben
    Runger, George
    JOURNAL OF QUALITY TECHNOLOGY, 2009, 41 (01) : 3 - 17
  • [29] TIME-ORDERED GREENS FUNCTIONS AND PERTURBATION THEORY
    MURASKIN, M
    NISHIJIMA, K
    PHYSICAL REVIEW, 1961, 122 (01): : 331 - &
  • [30] Sentiment Analysis of Twitter Data
    Desai, Radhi D.
    PROCEEDINGS OF THE 2018 SECOND INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND CONTROL SYSTEMS (ICICCS), 2018, : 114 - 117