2,691
Views
65
CrossRef citations to date
0
Altmetric
Original Articles

Teaching the Computer to Code Frames in News: Comparing Two Supervised Machine Learning Approaches to Frame Analysis

, , , &
Pages 190-206 | Published online: 21 Aug 2014
 

Abstract

We explore the application of supervised machine learning (SML) to frame coding. By automating the coding of frames in news, SML facilitates the incorporation of large-scale content analysis into framing research, even if financial resources are scarce. This furthers a more integrated investigation of framing processes conceptually as well as methodologically. We conduct several experiments in which we automate the coding of four generic frames that are operationalised as a set of indicator questions. In doing so, we compare two approaches to modelling the coherence between indicator questions and frames as an SML task. The results of our experiments show that SML is well suited to automate frame coding but that coding performance is dependent on the way SML is implemented.

Notes

1 All four frames are introduced in detail in the next section.

2 Instead of a single split into held-in and held-out, the vectors of predictions are obtained through 10-fold cross-validation.

3 We also tried alternative bag-of-words transformations, for example, binary-word presence, word counts, and parsimonious language models (Hiemstra et al., Citation2004). Additionally, we tried representing all articles in terms of n-grams and latent topics as derived from a LDA-model (Radim & Sojka, Citation2010). These variations in feature representation, as well as combinations of them, did not improve on TF.IDF weighting. We suggest applying syntactic (e.g., part of speech tags) or semantic features in future research.

4 The Python code used can be provided upon request.

5 Coders were required to answer ’yes’ or ’no’ to the following question:”Is the story political in nature?”

6 In previous research, these questions have been shown to be reliable indicators of the four frames (e.g., Semetko & Valkenburg, Citation2000; Vreese et al., 2001).

7 We performed a principal component analysis with non-orthogonal rotation to establish the coherence of the indicator questions and their relationships to the frames. As expected, we found a four-factor solution in which all indicators show significant positive loadings (>.5) on the expected frame.

8 Nearly all coders were involved, because multiple pairs of coders were used for reliability testing.

9 It is a well-known issue that Krippendorff’s alpha measures tend to be relatively low when assessing inter-coder agreement of binary classification tasks with unbalanced class distributions. This especially is the case with the morality frame, where we observe a substantial difference between the pairwise agreement measure and Krippendorff’s alpha measure.

10 The research is supported through a VENI grant from the Dutch Science Foundation, and the Dutch national program COMMIT.

11 Please note that the cross-validation sample that was used to estimate weights for the ensemble of classifiers is nested in the cross-validation sample, which we used to assess coding performance.

12 We always used a random sample of 2,000 articles as a training set and a random sample of 1,000 articles as test set.

13 We found the same pattern when applying the indicator-based approach.

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access

  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 53.00 Add to cart

Issue Purchase

  • 30 days online access to complete issue
  • Article PDFs can be downloaded
  • Article PDFs can be printed
USD 258.00 Add to cart

* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.