Hostname: page-component-76d6cb85b7-s74w7 Total loading time: 0 Render date: 2026-07-10T13:39:05.044Z Has data issue: false hasContentIssue false

Toward a framework for creating trustworthy measures with supervised machine learning for text

Published online by Cambridge University Press:  29 September 2025

Ju Yeon Park
Affiliation:
Department of Political Science, The Ohio State University, Columbus, OH, USA
Jacob M. Montgomery*
Affiliation:
Washington University in St. Louis, St. Louis, MO, USA
*
Corresponding author: Jacob M. Montgomery; Email: jacob.montgomery@wustl.edu
Rights & Permissions [Opens in a new window]

Abstract

Supervised learning is increasingly used in social science research to quantify abstract concepts in textual data. However, a review of recent studies reveals inconsistencies in reporting practices and validation standards. To address this issue, we propose a framework that systematically outlines the process of transforming text into a quantitative measure, emphasizing key reporting decisions at each stage. Clear and comprehensive validation is crucial, enabling readers to critically evaluate both the methodology and the resulting measure. To illustrate our framework, we develop and validate a measure assessing the tone of questions posed to nominees during U.S. Senate confirmation hearings. This study contributes to the growing literature advocating for transparency and rigor in applying machine learning methods within computational social sciences.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of EPS Academic Ltd.
Figure 0

Figure 1. Summary of the supervised learning pipeline.

This figure visually depicts the text-to-measure pipeline for supervised machine learning including document subsetting, labelling, text transformation, model fitting, and imputation.
Figure 1

Table 1. A review of current reporting and validation practices applying the text-to-measure pipeline

Figure 2

Figure 2. A guideline for reporting and validating the text-to-measure pipeline.

Figure 3

Table 2. Partitioning of the labeled data for training and three forms of validation

Figure 4

Table 3. Five random sample statements

Figure 5

Figure 3. Changes in members’ tone (a) By congress. (b) By appointment type.

In graph (a), members’ tone averaged by congress; in graph (b), the average tone of statements made by members who participated in both bureaucratic and judicial confirmation hearings at any point of time included in the current analysis measured for each appointment type. In both graphs, 95% confidence interval is around for each estimate.
Figure 6

Figure 4. Tone by party and administration.

Points are the average statement tone for Democrats and Republicans, respectively for four presidential administrations.
Supplementary material: File

Park and Montgomery supplementary material

Park and Montgomery supplementary material
Download Park and Montgomery supplementary material(File)
File 452.3 KB
Supplementary material: Link

Park and Montgomery Dataset

Link