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.
The Authors understand that, the copyright of the articles shall be assigned to Journal of education for Pure Science (JEPS), University of Thi-Qar as publisher of the journal.
Copyright encompasses exclusive rights to reproduce and deliver the article in all form and media, including reprints, photographs, microfilms and any other similar reproductions, as well as translations. The reproduction of any part of this journal, its storage in databases and its transmission by any form or media, such as electronic, electrostatic and mechanical copies, photocopies, recordings, magnetic media, etc. , will be allowed only with a written permission from Journal of education for Pure Science (JEPS), University of Thi-Qar.
Journal of education for Pure Science (JEPS), University of Thi-Qar, the Editors and the Advisory International Editorial Board make every effort to ensure that no wrong or misleading data, opinions or statements be published in the journal. In any way, the contents of the articles and advertisements published in the Journal of education for Pure Science (JEPS), University of Thi-Qar are sole and exclusive responsibility of their respective authors and advertisers.
