Temporal Machine Learning Models for Classifying Suspected Dengue Cases in Mexico Using Surveillance Data from 2025
Abstract
1. Introduction
2. Materials and Methods
3. Results
4. Discussion
Limitations
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| ABD | Aedes-Borne Disease |
| AdaBoost | Adaptive Boosting |
| ANN | Artificial Neural Network |
| auto.arima | Automatic AutoRegressive Integrated Moving Average |
| BN | Bayes Network |
| CatBoost | Categorical Boosting |
| CI | Confidence Interval |
| DENV | Dengue Virus |
| DT | Decision Tree |
| GB | Gradient Boosting |
| GLM | General Linear Model |
| kNN | k-Nearest Neighbor |
| LightGBM | Light Gradient Boosting Machine |
| LR | Logistic Regression |
| LSTM | Long Short-Term Memory |
| M5 | M5 Model Tree |
| MAE | Mean Absolute Error |
| ML | Machine Learning |
| MLP | MultiLayer Perceptron |
| NB | Naïve Bayes |
| nRMSE | Normalized Root Mean Square Error |
| PR-AUC | Area Under the Precision-Recall Curve |
| R | Correlation Coefficient |
| R2 | Determination Coefficient |
| RBF | Radial Basis Function |
| RF | Random Forest |
| RMSE | Root Mean Square Error |
| ROC-AUC | Area Under the Receiver Operating Characteristic Curve |
| SVM | Support Vector Machine |
| SVR | Support Vector Regression |
| TS | Time Series |
| VAR | Vector AutoRegression |
| XGBoost | xTreme Gradient Boosting |
References
- Comité Nacional Para la Vigilancia Epidemiológica. Aviso Epidemiológico. Available online: https://www.gob.mx/cms/uploads/attachment/file/852895/Aviso_Epidemiologico_Dengue_29_08_23.pdf (accessed on 30 November 2025).
- Pan American Health Organization. Epidemiological Update Dengue. Available online: https://iris.paho.org/server/api/core/bitstreams/237693c9-314e-4c46-91fe-71087cc50f93/content (accessed on 30 November 2025).
- Dirección General de Epidemiología. Enfermedades Transmitidas por Vectores (Dengue). Available online: https://www.gob.mx/salud/documentos/datos-abiertos-bases-historicas-de-enfermedades-transmitidas-por-vector (accessed on 6 January 2026).
- Appice, A.; Gel, Y.R.; Iliev, I.; Lyubchich, V.; Malerba, D. A Multi-Stage Machine Learning Approach to Predict Dengue Incidence: A Case Study in Mexico. IEEE Access 2020, 8, 52713–52725. [Google Scholar] [CrossRef] [Scilit]
- Baak-Baak, C.M.; Cigarroa-Toledo, N.; Pinto-Castillo, J.F.; Cetina-Trejo, R.C.; Torres-Chable, O.; Blitvich, B.J.; Garcia-Rejon, J.E. Cluster Analysis of Dengue Morbidity and Mortality in Mexico from 2007 to 2020: Implications for the Probable Case Definition. Am. J. Trop. Med. Hyg. 2022, 106, 1515–1521. [Google Scholar] [CrossRef] [Scilit]
- Dong, B.; Khan, L.; Smith, M.; Trevino, J.; Zhao, B.; Hamer, G.L.; Lopez-Lemus, U.A.; Molina, A.A.; Lubinda, J.; Nguyen, U.-S.D.T.; et al. Spatio-temporal dynamics of three diseases caused by Aedes-borne arboviruses in Mexico. Commun. Med. 2022, 2, 134. [Google Scholar] [CrossRef] [Scilit]
- Sebastianelli, A.; Spiller, D.; Carmo, R.; Wheeler, J.; Nowakowski, A.; Jacobson, L.V.; Kim, D.; Barlevi, H.; Cordero, Z.E.R.; Colón-González, F.J.; et al. A reproducible ensemble machine learning approach to forecast dengue outbreaks. Sci. Rep. 2024, 14, 3807. [Google Scholar] [CrossRef] [Scilit]
- Santos, C.Y.; Tuboi, S.; Abreu, A.d.J.L.d.; Abud, D.A.; Neto, A.A.L.; Pereira, R.; Siqueira, J.B. A machine learning model to assess potential misdiagnosed dengue hospitalization. Heliyon 2023, 9, e16634. [Google Scholar] [CrossRef] [Scilit]
- da Silva, S.T.; Gabrick, E.C.; Protachevicz, P.R.; Iarosz, K.C.; Caldas, I.L.; Batista, A.M.; Kurths, J. When climate variables improve the dengue forecasting: A machine learning approach. Eur. Phys. J. Spec. Top. 2025, 234, 555–569. [Google Scholar] [CrossRef] [Scilit]
- Madewell, Z.J.; Rodriguez, D.M.; Thayer, M.B.; Rivera-Amill, V.; Paz-Bailey, G.; Adams, L.E.; Wong, J.M. Machine learning for predicting severe dengue in Puerto Rico. Infect. Dis. Poverty 2025, 14, 5. [Google Scholar] [CrossRef] [Scilit]
- Gupta, G.; Khan, S.; Guleria, V.; Almjally, A.; Alabduallah, B.I.; Siddiqui, T.; Albahlal, B.M.; Alajlan, S.A.; Al-Subaie, M. DDPM: A Dengue Disease Prediction and Diagnosis Model Using Sentiment Analysis and Machine Learning Algorithms. Diagnostics 2023, 13, 1093. [Google Scholar] [CrossRef] [Scilit]
- Exebio-Chepe, Y.V.; Bravo-Ruiz, J.A.; Tuesta-Monteza, V.A. Comparison of machine learning algorithms for dengue virus (DENV) classification. J. Appl. Res. Technol. 2024, 22, 729–745. [Google Scholar] [CrossRef] [Scilit]
- DrivenData. DengAI: Predicting Disease Spread. Available online: https://www.drivendata.org/competitions/44/dengai-predicting-disease-spread/ (accessed on 6 January 2026).
- Tian, N.; Zheng, J.-X.; Li, L.-H.; Xue, J.-B.; Xia, S.; Lv, S.; Zhou, X.-N. Precision Prediction for Dengue Fever in Singapore: A Machine Learning Approach Incorporating Meteorological Data. Trop. Med. Infect. Dis. 2024, 9, 72. [Google Scholar] [CrossRef] [Scilit]
- Huang, S.W.; Tsai, H.P.; Hung, S.J.; Ko, W.C.; Wang, J.R. Assessing the risk of dengue severity using demographic information and laboratory test results with machine learning. PLoS Negl. Trop. Dis. 2020, 14, e0008960. [Google Scholar] [CrossRef] [Scilit]
- Salim, N.A.M.; Wah, Y.B.; Reeves, C.; Smith, M.; Yaacob, W.F.W.; Mudin, R.N.; Dapari, R.; Sapri, N.N.F.F.; Haque, U. Prediction of dengue outbreak in Selangor Malaysia using machine learning techniques. Sci. Rep. 2021, 11, 939. [Google Scholar] [CrossRef] [Scilit]
- Yavari Nejad, F.; Varathan, K.D. Identification of significant climatic risk factors and machine learning models in dengue outbreak prediction. BMC Med. Inf. Decis. Mak. 2021, 21, 141. [Google Scholar] [CrossRef] [Scilit]
- Schuessler, M.; Fleming, S.; Meyer, S.; Seto, T.; Hernandez-Boussard, T. Diagnostic framework to validate clinical machine learning models locally on temporally stamped data. Commun. Med. 2025, 5, 261. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Guo, L.L.; Pfohl, S.R.; Fries, J.; Johnson, A.E.W.; Posada, J.; Aftandilian, C.; Shah, N.; Sung, L. Evaluation of domain generalization and adaptation on improving model robustness to temporal dataset shift in clinical medicine. Sci. Rep. 2022, 12, 2726. [Google Scholar] [CrossRef] [Scilit]
- Saito, T.; Rehmsmeier, M. The precision-recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets. PLoS ONE 2015, 10, e0118432. [Google Scholar] [CrossRef] [Scilit]
- Fawcett, T. An introduction to ROC analysis. Pattern Recognit. Lett. 2006, 27, 861–874. [Google Scholar] [CrossRef] [Scilit]
- Lemaître, G.; Nogueira, F.; Aridas, C.K. Imbalanced-learn: A python toolbox to tackle the curse of imbalanced datasets in machine learning. J. Mach. Learn. Res. 2017, 18, 559–563. [Google Scholar]
- He, H.; Garcia, E.A. Learning from imbalanced data. IEEE Trans. Knowl. Data Eng. 2009, 21, 1263–1284. [Google Scholar] [CrossRef] [Scilit]
- Peng, H.; Long, F.; Ding, C. Feature selection based on mutual information: Criteria of Max-Dependency, Max-Relevance, and Min-Redundancy. IEEE Trans. Pattern. Anal. Mach. Intell. 2005, 27, 1226–1238. [Google Scholar] [CrossRef] [Scilit]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
- Kuhn, M.; Johnson, K. Applied Predictive Modeling; Springer: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
- Hastie, T.; Tibshirani, R.; Friedman, J. The Elements of Statistical Learning, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2009. [Google Scholar]
- Tan, C.W.; Yu, P.D.; Chen, S.; Poor, H.V. DeepTrace: Learning to Optimize Contact Tracing in Epidemic Networks with Graph Neural Networks. IEEE Trans. Signal Inf. Process Netw. 2025, 11, 97–113. [Google Scholar] [CrossRef] [Scilit]





| No. | Variable Name | Description |
|---|---|---|
| 1 | UPDATE_DATE | This variable identifies the latest update date (the database is updated weekly). |
| 2 | RECORD_ID | Case identifier number. |
| 3 | SEX | This variable identifies the patient’s sex. |
| 4 | AGE | This variable identifies the patient’s age in years. |
| 5 | RESIDENCE_STATE | This variable identifies the patient’s residential state. |
| 6 | RESIDENCE_MUNICIPALITY | This variable identifies the patient’s residential municipality. |
| 7 | INDIGENOUS_LANGUAGE_SPEAKING | This variable identifies if the patient speaks an indigenous language. |
| 8 | INDIGENOUS | This variable identifies if the patient self-identifies as an indigenous person. |
| 9 | NOTIFYING_MEDICAL_UNIT_ENTITY | This variable identifies the state where the notifying medical unit is located. |
| 10 | NOTIFYING_MEDICAL_UNIT_MUNICIPALITY | This variable identifies the municipality where the notifying medical unit is located. |
| 11 | NOTIFYING_MEDICAL_UNIT_INSTITUTION | This variable identifies the notifying medical unit institution. |
| 12 | DATE_OF_SYMPTOMS | This variable identifies the onset date of signs and symptoms of the current condition. |
| 13 | PATIENT_TYPE | This variable identifies the type of care the patient received in the medical unit. It is “outpatient” if they returned home, or “hospitalized” if they were admitted to the hospital. |
| 14 | BLEEDING_DISORDERS | Presence of bleeding disorders. |
| 15 | DIABETES | Presence of diabetes. |
| 16 | HYPERTENSION | Presence of hypertension. |
| 17 | PEPTIC_ULCER_DISEASE | Presence of peptic ulcer disease. |
| 18 | KIDNEY_DISEASE | Presence of kidney disease. |
| 19 | IMMUNOSUPPRESSION | Presence of immunosuppression. |
| 20 | LIVER_CIRRHOSIS | Presence of liver cirrhosis. |
| 21 | PREGNANCY | This variable identifies if the patient (female) is pregnant. |
| 22 | DEATH | This variable indicates if the patient died. |
| 23 | DIAGNOSIS | This variable identifies the assessment outcome for the patient. |
| 24 | SAMPLE_COLLECTION | This variable identifies if a sample was taken from the patient. |
| 25 | PCR_RESULT | This variable identifies the result of the PCR test performed by the laboratory. |
| 26 | CASE_STATUS | This variable identifies the status of the case. |
| 27 | ASSIGNED_STATE | This variable identifies the state to which the case was assigned. |
| 28 | ASSIGNED_MUNICIPALITY | This variable identifies the municipality to which the case was assigned. |
| Dataset | Period | Dengue Cases | Percentage |
|---|---|---|---|
| Training | January–September 2025 | 35,003 Negative cases 12,403 Confirmed cases | 69.5% |
| Validation | October 2025 | 6553 Negative cases 4649 Confirmed cases | 16.4% |
| Test | November–December 2025 | 4681 Negative cases 4933 Confirmed cases | 14.1% |
| Total | January–December 2025 | 68,222 total cases | 100% |
| ML Model | ~16% + 14% | Accuracy | Precision | Recall | F1-Score | ROC-AUC | PR-AUC | Summary Analysis |
|---|---|---|---|---|---|---|---|---|
| Random Forest Threshold = 0.397 | Validation Test | 0.6303 0.6705 | 0.5336 0.6104 | 0.8679 0.8938 | 0.6609 0.7254 | 0.7522 0.7730 | 0.6579 0.7300 | Best F1-score and PR-AUC. Second-best Recall and ROC-AUC. |
| Bayesian Network Threshold = 0.1853 | Validation Test | 0.7179 0.7023 | 0.6120 0.6056 | 0.7985 0.7897 | 0.6929 0.6855 | 0.7900 0.7756 | 0.6796 0.6724 | Best ROC-AUC and accuracy. ROC-AUC similar to Random Forest. |
| XGBoost Threshold = 0.507 | Validation Test | 0.6858 0.6834 | 0.5897 0.6428 | 0.7982 0.7870 | 0.6783 0.7076 | 0.7660 0.7496 | 0.6650 0.7099 | Good performance across all metrics, but none of them are the best. |
| CatBoost Threshold = 0.47 | Validation Test | 0.6453 0.6630 | 0.5485 0.6104 | 0.8228 0.8511 | 0.6582 0.7109 | 0.7428 0.7436 | 0.6450 0.7023 | Good performance across all metrics, but none of them are the best. |
| Logistic Regression Threshold = 0.49 | Validation Test | 0.6730 0.6830 | 0.5742 0.6326 | 0.8202 0.8321 | 0.6755 0.7188 | 0.7511 0.7445 | 0.6368 0.6936 | Good performance across all metrics, but none of them are the best. |
| Naïve bayes Threshold = 0.001 | Validation Test | 0.4052 0.4199 | 0.4003 0.4135 | 0.9876 0.9848 | 0.5697 0.5825 | 0.5341 0.5615 | 0.4534 0.4738 | Best Recall, but the other metrics are the worst. Poor performance. |
| MLP Threshold = 0.5 | Validation Test | 0.6261 0.6245 | 0.5230 0.5309 | 0.7082 0.7407 | 0.6017 0.6185 | 0.6964 0.7001 | 0.6023 0.6106 | Some metrics are relatively good, and others are a little low. |
| SVM Threshold = 0.0 | Validation Test | 0.6937 0.6909 | 0.5847 0.5929 | 0.7996 0.7900 | 0.6755 0.6774 | 0.7726 0.7682 | 0.6521 0.6597 | Good performance across all metrics, except for Precision. |
| LightGBM Threshold = 0.3174 | Validation Test | 0.6980 0.6906 | 0.6030 0.6543 | 0.7969 0.7727 | 0.6866 0.7086 | 0.7711 0.7452 | 0.6696 0.7000 | Best Precision and good performance in other metrics, but still below other models. |
| Recurring Pattern | Models in Which It Was Identified | Conclusive Analysis |
|---|---|---|
| State and municipality of residence | RF, BN, XGBoost, CatBoost, LR, NB, MLP, SVM, LightGBM. | The classification is associated with the territorial context. |
| State and municipality of the notifying medical unit | RF, BN, XGBoost, CatBoost, LR, NB, MLP, SVM, LightGBM. | The classification is associated with the operational and institutional context. |
| Age | RF, BN, XGBoost, CatBoost, LR, NB, MLP, SVM, LightGBM. | It provides additional, but usually secondary, information. |
| Comorbidities | Mainly XGBoost, MLP, and SVM; minor contribution in other models. | Its contribution was weak in most models. |
| Random Forest | ||||||
|---|---|---|---|---|---|---|
| VALIDATION (October 2025) | ||||||
| Threshold | Accuracy | Precision | Recall | F1-score | ROC-AUC | PR-AUC |
| 0.500 | 0.6683 | 0.5812 | 0.7182 | 0.6425 | 0.7522 | 0.6579 |
| 0.397 | 0.6303 | 0.5336 | 0.8679 | 0.6609 | 0.7522 | 0.6579 |
| 0.327 | 0.5851 | 0.5001 | 0.9426 | 0.6534 | 0.7522 | 0.6579 |
| TEST (November–December 2025) | ||||||
| Threshold | Accuracy | Precision | Recall | F1-score | ROC-AUC | PR-AUC |
| 0.500 | 0.7069 | 0.6668 | 0.7956 | 0.7255 | 0.7730 | 0.7300 |
| 0.397 | 0.6705 | 0.6104 | 0.8938 | 0.7254 | 0.7730 | 0.7300 |
| 0.327 | 0.6252 | 0.5699 | 0.9387 | 0.7092 | 0.7730 | 0.7300 |
| Random Forest | ||||
|---|---|---|---|---|
| Metric | Validation (October 2025) | Test (November–December 2025) | ||
| Value | CI 95% | Value | CI 95% | |
| Accuracy | 0.6303 | 0.6214–0.6392 | 0.6705 | 0.6610–0.6798 |
| Precision | 0.5336 | 0.5223–0.5448 | 0.6104 | 0.5988–0.6218 |
| Recall | 0.8679 | 0.8579–0.8774 | 0.8938 | 0.8847–0.9023 |
| F1-score | 0.6609 | 0.6511–0.6705 | 0.7254 | 0.7161–0.7346 |
| ROC-AUC | 0.7522 | 0.7428–0.7616 | 0.7730 | 0.7636–0.7824 |
| PR-AUC | 0.6579 | 0.6410–0.6643 | 0.7300 | 0.7222–0.7472 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Soria-Cruz, J.; Luna-Ramírez, E.; Castillo-Zúñiga, I.; López-Veyna, J.I.; Estrada-Ramírez, M.A.; González-Morales, J.A. Temporal Machine Learning Models for Classifying Suspected Dengue Cases in Mexico Using Surveillance Data from 2025. Diseases 2026, 14, 155. https://doi.org/10.3390/diseases14050155
Soria-Cruz J, Luna-Ramírez E, Castillo-Zúñiga I, López-Veyna JI, Estrada-Ramírez MA, González-Morales JA. Temporal Machine Learning Models for Classifying Suspected Dengue Cases in Mexico Using Surveillance Data from 2025. Diseases. 2026; 14(5):155. https://doi.org/10.3390/diseases14050155
Chicago/Turabian StyleSoria-Cruz, Jorge, Enrique Luna-Ramírez, Iván Castillo-Zúñiga, Jaime Iván López-Veyna, Ma. Angélica Estrada-Ramírez, and Juan Antonio González-Morales. 2026. "Temporal Machine Learning Models for Classifying Suspected Dengue Cases in Mexico Using Surveillance Data from 2025" Diseases 14, no. 5: 155. https://doi.org/10.3390/diseases14050155
APA StyleSoria-Cruz, J., Luna-Ramírez, E., Castillo-Zúñiga, I., López-Veyna, J. I., Estrada-Ramírez, M. A., & González-Morales, J. A. (2026). Temporal Machine Learning Models for Classifying Suspected Dengue Cases in Mexico Using Surveillance Data from 2025. Diseases, 14(5), 155. https://doi.org/10.3390/diseases14050155

