Issue |
ITM Web Conf.
Volume 70, 2025
2024 2nd International Conference on Data Science, Advanced Algorithm and Intelligent Computing (DAI 2024)
|
|
---|---|---|
Article Number | 02017 | |
Number of page(s) | 10 | |
Section | Machine Learning in Healthcare and Finance | |
DOI | https://doi.org/10.1051/itmconf/20257002017 | |
Published online | 23 January 2025 |
A Study on the performance of Four Regression Models in Predicting Weather Temperature Based on Python
Faculty of Science and Engineering, University of Nottingham Ningbo, Ningbo, China
Corresponding author: scytl7@nottingham.edu.cn
For industries like agriculture and disaster management, weather forecasting is essential. This study assesses how well four regression models—linear regression, random forest regression, support vector regression (SVR), and K-Nearest Neighbors (KNN)—predict weather temperatures using a dataset from England. Standardizing and expanding features were part of the data preprocessing process to capture non-linear interactions. Performance metrics were used to evaluate the models' predictive capacity. With the highest R2 value and the lowest error metrics, Random Forest Regression fared better than the other models, suggesting higher predictive accuracy, according to the data. KNN exhibited greater sensitivity to local fluctuations compared to SVR, which performed slightly better overall. linear Regression was the least effective, struggling with non-linear data and exhibiting higher error metrics. This study offers a thorough comparison of weather prediction regression models, emphasizing the performance of the Random Forest regression.
© The Authors, published by EDP Sciences, 2025
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.