Skip to main navigation Skip to search Skip to main content

Everything has its price: Foundations of cost-sensitive machine learning and its application in psychology

  • Department of Developmental Psychology

Research output: Contribution to journalArticleAcademicpeer-review

Abstract

Psychology has seen an increase in the use of machine learning (ML) methods. In many applications, observations are classified into one of two groups (binary classification). Off-the-shelf classification algorithms assume that the costs of a misclassification (false positive or false negative) are equal. Because this is often not reasonable (e.g., in clinical psychology), cost-sensitive machine learning (CSL) methods can take different cost ratios into account. We present the mathematical foundations and introduce a taxonomy of the most commonly used CSL methods, before demonstrating their application and usefulness on psychological data, that is, the drug consumption data set (N = 1, 885) from the University of California Irvine ML Repository. In our example, all demonstrated CSL methods noticeably reduced mean misclassification costs compared to regular ML algorithms. We discuss the necessity for researchers to perform small benchmarks of CSL methods for their own practical application. Thus, our open materials provide R code, demonstrating how CSL methods can be applied within the mlr3 framework (https://osf.io/cvks7/).

Original languageEnglish
Pages (from-to)112-127
Number of pages16
JournalPsychological Methods
Volume30
Issue number1
Early online date10 Aug 2023
DOIs
Publication statusPublished - Feb 2025

Bibliographical note

Publisher Copyright:
© 2023 American Psychological Association

Fingerprint

Dive into the research topics of 'Everything has its price: Foundations of cost-sensitive machine learning and its application in psychology'. Together they form a unique fingerprint.

Cite this