The role of hyperparameters in machine learning models and how to tune them

Christian Arnold, Luka Biedebach, Andreas Küpfer, Marcel Neunhoeffer*

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

148 Downloads (Pure)

Abstract

Hyperparameters critically influence how well machine learning models perform on unseen, out-of-sample data. Systematically comparing the performance of different hyperparameter settings will often go a long way in building confidence about a model's performance. However, analyzing 64 machine learning related manuscripts published in three leading political science journals (APSR, PA, and PSRM) between 2016 and 2021, we find that only 13 publications (20.31 percent) report the hyperparameters and also how they tuned them in either the paper or the appendix. We illustrate the dangers of cursory attention to model and tuning transparency in comparing machine learning models’ capability to predict electoral violence from tweets. The tuning of hyperparameters and their documentation should become a standard component of robustness checks for machine learning models.

Original languageEnglish
JournalPolitical Science Research and Methods
Early online date5 Feb 2024
DOIs
Publication statusE-pub ahead of print - 5 Feb 2024

Keywords

  • Best Practice
  • Hyperparameter Optimization
  • Machine Learning

Fingerprint

Dive into the research topics of 'The role of hyperparameters in machine learning models and how to tune them'. Together they form a unique fingerprint.

Cite this