Preventing Overfitting and Underfitting in Machine Learning Model Development: A Practical Analysis

Authors

  • José Iván Calderón Carrillo Universidad Privada del Norte - (PE)

DOI:

https://doi.org/10.18687/LACCEI2026.1.1.520

Keywords:

Machine learning, models, overfitting, underfitting.

Abstract

The main objective of this document is to assist future researchers in identifying fit problems in the development of predictive models used in Machine Learning. To this end, theoretical aspects were addressed, and most importantly, a practical case study was developed using synthetic data. Three predictive models were created from this data: an underfitted model, an overfitted model, and an ideal model. This allowed for the identification of the characteristics of each type of fit. Finally, a simple and practical guide was created outlining the steps to follow to obtain a model with an adequate fit, that is, one with good generalization capabilities.

Downloads

Published

2026-07-27

License

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

LACCEI retains copyright of all published articles under the terms of its copyright transfer agreement. As the copyright holder, LACCEI distributes the articles to the public under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).

How to Cite

Calderón Carrillo, J. I. (2026). Preventing Overfitting and Underfitting in Machine Learning Model Development: A Practical Analysis. LACCEI, 1(14). https://doi.org/10.18687/LACCEI2026.1.1.520