Using Machine Learning (ML) Methods to Predict Temperatures in Iraq (Baghdad)
DOI:
https://doi.org/10.32792/jeps.v16i1.746Keywords:
( machine learning; XGB model; (ANN) model; SVM model; Temperature forecastingAbstract
Temperature forecasting is an important tool for understanding climate patterns and the process of adapting societies to climate change. Predictive models play a role in mediating the decision-making process in various fields. In the present study, we used three methods of machine learning - support machine learning (SVM) and artificial neural networks (ANN) and Extreme gradient boosting )XGBoost( regression - to predict the temperature in Baghdad province. The results showed the predictive ability of these methods, while the XGBoost model was the most effective, with the lowest mean square error (MSE) of 0.42. While the MSE value of the SVM model is equal to 0.85. As for the ANN model, the MSE is greater than 1.10, which indicates the possibility of overfitting. During the employment of clustering and nested trees, the results showed that XGBoost was more suitable for the complexity of the dataset, while SVM performed well but was less accurate than XGBoost. In the end, I recommend conducting research on the features of additional data and investigating better accuracy in future predictions during model refinement.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Journal of Education for Pure Science

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Copyright Policy
Authors retain copyright of their articles published in the Journal of Education for Pure Science (JEPS).
By submitting their work, authors grant the journal a non-exclusive license to publish, distribute, and archive the article in all formats and media.
License
All articles published in JEPS are licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
This license permits unrestricted use, distribution, and reproduction in any medium, provided that the original author(s) and the source are properly credited.
Author Rights
Authors have the right to:
-
Share their articles on personal websites, institutional repositories, and academic platforms
-
Reuse their work in future research and publications
-
Distribute the published version without restriction
Journal Rights
The journal retains the right to:
-
Publish and archive the articles
-
Include them in indexing and archiving systems such as LOCKSS and CLOCKSS
-
Promote and disseminate the published work
Responsibility
The contents of all articles are the sole responsibility of the authors. The journal, editors, and editorial board are not responsible for any errors, opinions, or statements expressed in the published articles.
Open Access Statement
JEPS provides immediate open access to its content, supporting the principle that making research freely available to the public enhances global knowledge exchange.
This work is licensed under a Creative Commons Attribution 4.0 International License.
https://creativecommons.org/licenses/by/4.0/