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

被引:14
|
作者
Arnold, Christian [1 ]
Biedebach, Luka [2 ]
Kuepfer, Andreas [3 ]
Neunhoeffer, Marcel [4 ,5 ]
机构
[1] Cardiff Univ, Dept Polit & Int Relat, Cardiff, Wales
[2] Reykjavik Univ, Dept Comp Sci, Reykjavik, Iceland
[3] Tech Univ Darmstadt, Inst Polit Sci, Darmstadt, Germany
[4] Boston Univ, Rafik B Hariri Inst Comp & Computat Sci & Engn, Boston, MA 02215 USA
[5] Ludwig Maximilians Univ Munchen, Dept Stat, Munich, Germany
关键词
Best Practice; Hyperparameter Optimization; Machine Learning; REPLICATION;
D O I
10.1017/psrm.2023.61
中图分类号
D0 [政治学、政治理论];
学科分类号
0302 ; 030201 ;
摘要
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.
引用
收藏
页码:841 / 848
页数:8
相关论文
共 50 条
  • [1] Hyperparameters Tuning for Machine Learning Models for Time Series Forecasting
    Peter, Gladilin
    Matskevichus, Maria
    2019 SIXTH INTERNATIONAL CONFERENCE ON SOCIAL NETWORKS ANALYSIS, MANAGEMENT AND SECURITY (SNAMS), 2019, : 328 - 332
  • [2] Stealing Hyperparameters in Machine Learning
    Wang, Binghui
    Gong, Neil Zhenqiang
    2018 IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP), 2018, : 36 - 52
  • [3] Optimizing ensemble weights and hyperparameters of machine learning models for regression problems
    Shahhosseini, Mohsen
    Hu, Guiping
    Pham, Hieu
    MACHINE LEARNING WITH APPLICATIONS, 2022, 7
  • [4] Optimizing ensemble weights and hyperparameters of machine learning models for regression problems
    Shahhosseini, Mohsen
    Hu, Guiping
    Pham, Hieu
    Machine Learning with Applications, 2022, 7
  • [5] Design of experiments and response surface methodology to tune machine learning hyperparameters, with a random forest case-study
    Lujan-Moreno, Gustavo A.
    Howard, Phillip R.
    Rojas, Omar G.
    Montgomery, Douglas C.
    EXPERT SYSTEMS WITH APPLICATIONS, 2018, 109 : 195 - 205
  • [6] Effect of data preprocessing and machine learning hyperparameters on mass spectrometry imaging models
    Gardner, Wil
    Winkler, David A.
    Alexander, David L. J.
    Ballabio, Davide
    Muir, Benjamin W.
    Pigram, Paul J.
    JOURNAL OF VACUUM SCIENCE & TECHNOLOGY A, 2023, 41 (06):
  • [7] How to tune the RBF SVM hyperparameters? An empirical evaluation of 18 search algorithms
    Jacques Wainer
    Pablo Fonseca
    Artificial Intelligence Review, 2021, 54 : 4771 - 4797
  • [8] How to tune the RBF SVM hyperparameters? An empirical evaluation of 18 search algorithms
    Wainer, Jacques
    Fonseca, Pablo
    ARTIFICIAL INTELLIGENCE REVIEW, 2021, 54 (06) : 4771 - 4797
  • [9] Investigation of Hyperparameters for DOA Using Machine Learning
    Nosho, Takahiro
    Fujimoto, Mitoshi
    2020 INTERNATIONAL SYMPOSIUM ON ANTENNAS AND PROPAGATION (ISAP), 2021, : 505 - 506
  • [10] Learning the values of the hyperparameters of a dynamic Boltzmann machine
    Osogami, T.
    Dasgupta, S.
    IBM JOURNAL OF RESEARCH AND DEVELOPMENT, 2017, 61 (4-5)