IDEAS home Printed from https://ideas.repec.org/a/cup/pscirm/v12y2024i4p841-848_9.html
   My bibliography  Save this article

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

Author

Listed:
  • Arnold, Christian
  • Biedebach, Luka
  • Küpfer, Andreas
  • Neunhoeffer, Marcel

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.

Suggested Citation

  • Arnold, Christian & Biedebach, Luka & Küpfer, Andreas & Neunhoeffer, Marcel, 2024. "The role of hyperparameters in machine learning models and how to tune them," Political Science Research and Methods, Cambridge University Press, vol. 12(4), pages 841-848, October.
  • Handle: RePEc:cup:pscirm:v:12:y:2024:i:4:p:841-848_9
    as

    Download full text from publisher

    File URL: https://www.cambridge.org/core/product/identifier/S2049847023000614/type/journal_article
    File Function: link to article abstract page
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:cup:pscirm:v:12:y:2024:i:4:p:841-848_9. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Kirk Stebbing (email available below). General contact details of provider: https://www.cambridge.org/ram .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.