학술

Machine learning ensemble models for hourly temperature prediction in arid urban environments: A comparative study with applications to climate-responsive planning

PLOS ONE
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

Figures
Abstract
Accurate hourly temperature prediction is essential for energy demand planning, public health management, and climate adaptation strategies in rapidly urbanizing arid regions. This study develops and evaluates a comprehensive framework for predicting hourly air temperature in Riyadh, Saudi Arabia, using 23 years of meteorological data (2001–2023). Six machine learning and deep learning models, namely Long Short-Term Memory (LSTM), Convolutional Neural Networks (CNN), Artificial Neural Networks (ANN), Recurrent Neural Networks (RNN), Support Vector Machines (SVM), and Random Forest (RF) were applied for hourly temperature prediction. We compared their performance using a temporary independent framework. The dataset was partitioned chronologically into training, validation, and independent testing periods, and preprocessing parameters were estimated exclusively from the training data to prevent information leakage. Lagged-correlation and multivariate analyses were also conducted to examine the strength and temporal structure of associations between meteorological variables and hourly air temperature. Among the evaluated models, LSTM exhibited the best independent-test performance (R2 = 0.99981, RMSE = 0.1371°C, MAE = 0.1092°C), followed by RNN (R2 = 0.99944, RMSE = 0.2320°C) and RF (R2 = 0.9992, RMSE = 0.2739°C). ANN also showed strong predictive ability, whereas CNN and SVM yielded comparatively larger errors. The lagged-correlation analysis further revealed that the strength and timing of meteorological associations with air temperature varied across predictors, indicating a clear temporal structure in hourly temperature dynamics. The framework provides highly accurate hourly temperature estimates and demonstrates the value of combining temporal climate analysis with machine-learning and deep-learning methods for cooling-demand assessment, building-energy applications, and climate-responsive urban planning in arid cities.
Citation: Kafy AA, Shohan AAA, Alsulamy S, Alshayeb M (2026) Machine learning ensemble models for hourly temperature prediction in arid urban environments: A comparative study with applications to climate-responsive planning. PLoS One 21(11): e0363669. https://doi.org/10.1371/journal.pone.0363669
Editor: Lingye Yao, The Chinese University of Hong Kong, HONG KONG
Received: February 26, 2026; Accepted: November 10, 2026; Published: November 30, 2026
Copyright: © 2026 Kafy et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All data and code are provided as Supporting Information and deposited in Zenodo (https://doi.org/10.5281/zenodo.21681544), primary data are from NASA POWER (https://power.larc.nasa.gov/).
Funding: The authors extend their appreciation to the Deanship of Scientific Research at King Khalid University for funding this work through a large group Research Project under grant number RGP 2/21/47. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
1 Introduction
Arid and semi-arid regions encompass more than one-third of the global land surface and are home to over two billion people, many of whom reside in rapidly urbanizing environments [1]. These regions are defined by persistently low precipitation, limited vegetation cover, and intense solar radiation, which together create a climatic profile marked by high thermal extremes and a wide diurnal temperature range [2]. Unlike humid climates where cloud cover and moisture buffer surface temperatures, arid regions experience pronounced daytime heating due to intense insolation and minimal atmospheric moisture, followed by sharp nighttime cooling due to rapid radiative heat loss. Such diurnal fluctuations often exceed 20°C in a 24-hour period, imposing stress on infrastructure, water demand cycles, and human health [3,4]. Climate change is expected to intensify these thermal extremes by increasing the frequency, duration, and severity of heat events, while rapid urbanization further amplifies local warming through modifications of land cover and surface energy balance [5,6]. Understanding the temporal evolution of temperature in these environments has therefore become increasingly important for climate adaptation, energy management, urban planning, and public health.
Temperature variability in arid cities is particularly important because thermal conditions can change dramatically within only a few hours. Daily or monthly averages, although useful for describing long-term climate conditions, conceal the intra-day fluctuations that determine human heat exposure, peak electricity demand, and the timing of heat-related hazards [7]. During summer, temperatures in desert cities may increase from below 25°C during the early morning to above 45°C in the afternoon, producing rapid changes in thermal comfort and physiological stress. These short-term fluctuations strongly influence cooling energy demand, which can account for more than 70% of peak electricity consumption in some desert cities [8]. They also affect urban heat island intensity, land-atmosphere energy exchange, and the timing of heat-related illnesses, all of which exhibit substantial hourly variability rather than daily uniformity [9,10]. Consequently, accurate characterization and prediction of hourly temperature dynamics are essential for designing effective heat warning systems, improving electricity demand management, and developing climate-resilient urban infrastructure.
Recent advances in artificial intelligence have substantially improved temperature prediction through machine learning and deep learning techniques capable of representing highly nonlinear relationships within climate systems. Machine learning models, including Artificial Neural Networks (ANN), Random Forests (RF), and Support Vector Machines (SVM), have demonstrated good performance for predicting meteorological variables such as temperature, humidity, precipitation, and air quality [11–13]. More recently, deep learning architectures, particularly Recurrent Neural Networks (RNNs), Long Short-Term Memory (LSTM) networks, and hybrid, have shown improved capability for learning complex temporal dependencies from sequential climate observations [14–19]. These developments have expanded the application of artificial intelligence in climate prediction and demonstrated that data-driven approaches can complement conventional numerical models, especially for short-term prediction and complex nonlinear environmental processes [20,21].
Despite these advances, several challenges remain in understanding and predicting temperature dynamics in hyper-arid environments. Most prior research has focused on daily, monthly, or seasonal temperature prediction [20], whereas comparatively few have investigated continuous hourly temperature dynamics, which are considerably more challenging because of stronger short-term variability and temporal dependence. Also, much of the previous studies have primarily emphasized improving prediction accuracy, whereas comparatively less attention has been given to understanding the long-term evolution of hourly temperature variability that governs human heat exposure and energy demand. Furthermore, although various machine learning models have been proposed, their relative performance has rarely been evaluated using a consistent framework based on long-term hourly observations from desert climates. This limitation is important because the physical processes controlling temperature in hyper-arid regions, including intense solar radiation, low atmospheric moisture, and large diurnal temperature ranges, differ substantially from those in humid and temperate climates where many existing models have been developed and tested. Consequently, additional evidence is needed to determine how different machine learning and deep learning approaches perform under these unique climatic conditions and whether they can reliably capture both daytime warming and nighttime cooling characteristics that define desert environments.
Riyadh provides an ideal case study for addressing these questions. As one of the fastest-growing metropolitan areas in the Arabian Peninsula, the city has experienced rapid urban expansion alongside increasing exposure to extreme heat. Summer daytime temperatures frequently exceed 45°C, while large diurnal temperature variations place considerable pressure on electricity demand, public health, water resources, transportation systems, and urban infrastructure [22]. Accurate hourly temperature prediction is therefore essential for optimizing cooling energy management, improving heat-health warning systems, supporting outdoor work scheduling, and enhancing urban climate adaptation strategies [18,23]. Despite its importance, comprehensive evaluations of machine learning and deep learning models for long-term hourly temperature prediction remain limited for Riyadh and other hyper-arid cities. Improving predictive capability in this environment therefore will provide practical benefits for local decision making while also contributing evidence applicable to other rapidly urbanizing desert regions experiencing similar climatic conditions.
Accordingly, this study investigates long-term hourly temperature dynamics in Riyadh using a comprehensive machine learning and deep learning framework. First, long-term trends and variability in diurnal temperature patterns are analyzed under changing climatic conditions. Second, the predictive performance of six machine learning and deep learning models is systematically evaluated for predicting hourly temperature. By integrating long-term climatic analysis with comparative evaluation of multiple artificial intelligence models using continuous hourly observations, this study provides one of the few comprehensive assessments of high-frequency temperature prediction for a hyper-arid desert megacity, thereby contributing both methodological evidence and practical guidance for climate adaptation and urban heat management.
2 Methods
2.1 Study area
This study focuses on Riyadh City, the capital and largest metropolitan area of the Kingdom of Saudi Arabia. Geographically, Riyadh is located in the central part of the Arabian Peninsula, situated at approximately 24.7136° N latitude and 46.6753° E longitude. The city lies within the Najd plateau, characterized by a flat to gently undulating terrain and an elevation of around 600 meters above sea level. Riyadh experiences an arid desert climate (BWh under the Köppen–Geiger classification), marked by extremely hot summers, mild winters, very low annual rainfall (averaging less than 100 mm), and high solar radiation [24]. Diurnal temperature variation is a prominent climatic feature, with substantial differences between daytime and nighttime temperatures, especially during the transitional seasons.
As of 2023, Riyadh's population exceeds 7.5 million, making it one of the fastest-growing urban centers in the Middle East. Rapid urbanization over recent decades has led to significant land use and land cover (LULC) changes, including the widespread replacement of natural desert and vegetated areas with impervious surfaces such as asphalt, concrete, and built-up infrastructure [25,26]. These transformations have intensified the urban thermal environment, resulting in elevated surface and air temperatures, particularly at night, due to reduced longwave radiative cooling and increased heat storage in urban materials. The city's urban heat island (UHI) effect has become a growing concern for climate change, public health, and energy demand [27–29]. Understanding the diurnal dynamics of temperature, particularly hourly variations and their seasonal shifts, is therefore essential for assessing the present and future implications of Riyadh’s urban climate. Insights into the temporal patterns of temperature can support evidence-based urban planning, heat mitigation strategies, and resilience-building efforts, especially as the city continues its Vision 2030-driven development trajectory.
2.2 Data collection
The hourly climate data were obtained from NASA POWER access dataset for the dates between January 1st, 2001 and December 31st, 2023. Data we collected includes average hourly temperature (Tavg), total solar irradiance (SI), clear-sky solar irradiance (CSI), dew/frost point temperature (DFP), wet bulb temperature (WBT), specific humidity (SH), relative humidity (RH), rainfall, windspeed (WS10M and WS50M). The rationale for using POWER dataset is because of hourly data. We checked the missing values and checked whether there are any errors in the dataset in Python 3.12.3 version. Also, this dataset has been recognized as a reliable source of climate data in arid environments like Saudi Arabia, validated by studies including van Wart et al. [30]. Almazroui et al. [31] further confirmed its utility for broader climate trend analysis across the Arabian Peninsula, noting its adequacy for examining temperature and rainfall patterns despite regional variability. Srivastava et al. [32] also reinforced the dataset’s reliability by successfully applying it to estimate evapotranspiration in data-scarce regions, pointing out its potential for water resource management. Also, study by Ali [33] and Garni [34] supports its relevance for energy modeling and solar PV deployment strategies, collectively affirming the dataset’s applicability and credibility in climatic and renewable energy assessments in arid settings.
To further ensure the quality and reliability of the dataset, we performed several data validation procedures prior to analysis, including checks for missing values, duplicate and invalid timestamps, temporal continuity, physical range validation, interquartile range (IQR)-based outlier detection, internal consistency checks, and abrupt change screening. The assessment demonstrated that the dataset is complete and structurally consistent, with 201,600 valid observations for each variable and no missing values, duplicate timestamps, invalid dates, invalid hours, or missing hourly records. All variables also satisfied their predefined physical ranges, with no physically implausible observations detected. IQR analysis indicated no outliers for CSI, SI, Tavg, and WS50, while only small proportions of observations were identified as statistical outliers for DFP (2.30%), WBT (0.54%), SH (4.59%), RH (4.68%), WS10 (3.05%), and rainfall (2.21%). These observations were retained because IQR identifies statistical extremes rather than measurement errors, and all values remained within physically realistic limits. Internal consistency checks identified only 62 cases (0.031%) where WBT exceeded Tavg and 63 cases (0.031%) where DFP exceeded Tavg, representing a negligible proportion of the complete dataset. Abrupt change screening further showed no abrupt changes in air temperature and only limited abrupt changes in most remaining variables.
2.3 Correlation analysis
We have calculated Pearson’s correlation coefficients and conducted multivariate regression analysis and lagged correlation analysis to investigate the influence of weather variables on diurnal temperature variability in Riyadh City. Pearson’s correlation was used to identify the strength and direction of linear relationships between temperature and individual weather variables. Multivariate regression allowed us to assess the combined and relative contributions of multiple variables simultaneously. Lagged correlation analysis was applied to capture delayed effects of weather conditions on temperature variability, accounting for temporal dynamics in atmospheric interactions.
2.4 Predictive models
To provide a balanced and representative comparison, six widely used machine learning and deep learning algorithms were selected, namely ANN, SVM, RF, CNN, RNN, and LSTM. These models represent complementary learning paradigms with distinct capabilities for modeling environmental time series. ANN serves as a classical nonlinear baseline [35,36], SVM is effective for nonlinear regression with limited overfitting [37], and RF is an ensemble tree-based method capable of capturing complex nonlinear interactions while remaining relatively robust to noisy observations [38]. CNN was included because of its ability to learn local temporal patterns through convolutional filters, whereas RNN and LSTM are specifically constructed to model sequential data and temporal dependencies [16,23,39]. In particular, LSTM addresses the vanishing-gradient limitations of conventional RNNs through gated memory cells, making it well suited for predicting hourly meteorological variables that exhibit both short-term fluctuations and long-term temporal persistence. These six models encompass the major categories of data-driven prediction approaches currently used in climate and environmental prediction and therefore provide a comprehensive framework for evaluating hourly temperature prediction under hyper-arid climatic conditions.
To ensure a temporally independent and methodologically consistent comparison among models, all machine-learning and deep-learning algorithms were implemented within the same chronological preprocessing, training, validation, and testing framework. Rather than using a random train-test split, the 23-year hourly dataset was divided sequentially into three non-overlapping periods: 141,120 observations for training (1 January 2001–5 February 2017), 30,240 observations for validation (6 February 2017–19 July 2020), and 30,240 observations for independent testing (20 July 2020–31 December 2023). This chronological partitioning prevents neighboring and highly autocorrelated hourly observations from being randomly distributed across model-development and evaluation subsets and therefore provides a more rigorous assessment of temporal generalization.
All predictor variables were normalized using MinMaxScaler, with the scaling parameters estimated exclusively from the training subset and then applied unchanged to the validation and independent test subsets. This procedure prevented information from the validation or test periods from influencing the preprocessing stage. Hyperparameters were selected based on commonly adopted configurations reported in previous climate prediction studies and further refined through preliminary experimental evaluation to obtain stable convergence and satisfactory predictive performance, rather than through automated optimization methods such as Grid Search or Bayesian Optimization. A fixed random seed of 42 was used across the modeling workflow to improve reproducibility. The deep learning models (ANN, CNN, RNN, and LSTM) were trained using the Adam optimizer with Mean Squared Error (MSE) as the loss function, a batch size of 32, and 100 training epochs. Early stopping based on validation loss was implemented with a patience of 10 epochs and restoration of the best-performing model weights, thereby limiting unnecessary training once validation performance ceased to improve. A single Dense(1) output layer was used in all neural network architectures to generate continuous hourly temperature predictions. To ensure that all six models received equivalent temporal information, a common five-hour predictor window was used for each target hour. Specifically, meteorological observations from t – 4, t –3, t –2, t –1, and t were used to estimate mean air temperature at hour t. Thus, this ensures concurrent hourly temperature prediction rather than next-step forecasting. The five-hour window was retained in sequential form for CNN, RNN, and LSTM, whereas the same information was flattened into a tabular feature vector for ANN, SVM, and RF. No lagged values of the target temperature were included as predictors. The ANN architecture consisted of three hidden layers with 128, 64, and 32 neurons. The CNN model used a one-dimensional convolutional layer with 64 filters and a kernel size of 2, followed by max pooling with a pool size of 2, a flattening layer, and a dense layer containing 50 neurons. The RNN and LSTM architectures each employed 50 recurrent units and used the same five-hour input sequence. The SVM model was implemented using a radial basis function (RBF) kernel with a penalty parameter (C) of 100, a kernel coefficient (γ) of 0.1, and an epsilon (ε) value of 0.1. The Random Forest model comprised 100 decision trees with a fixed random state of 42. Model performance was evaluated using the same validation and independent test periods for all algorithms. RMSE was designated as the primary model-ranking criterion, while R2, MAE, MAPE, and RMSLE were retained as complementary measures of predictive performance. This consistent evaluation framework ensures that differences among models primarily reflect their predictive behavior under the same temporal information, preprocessing procedure, and evaluation periods rather than differences in data partitioning or feature preparation.
2.4.1 Convolutional neural networks (CNNs).
CNNs originally developed for image recognition tasks, have gained increasing attention in recent years for their effectiveness in handling time series data, particularly in applications involving meteorological and environmental prediction [40]. Unlike traditional time series models, CNNs are capable of automatically extracting local and hierarchical features through convolutional filters, making them particularly effective for identifying complex temporal patterns and dependencies in multivariate datasets. In the time series prediction, one-dimensional CNNs are typically used where the input is a sequence of past observations. The core idea is to apply convolutional kernels that slide over the temporal dimension, capturing short-term trends, abrupt fluctuations, or recurring patterns. These learned features are then passed through additional convolutional or pooling layers to form more abstract representations, allowing the network to learn both fine-grained and high-level temporal relationships [41–43]. This hierarchical learning capability is especially useful when dealing with noisy or highly non-linear data, such as diurnal temperature fluctuations influenced by multiple interdependent meteorological variables [44]. A key advantage of using CNNs for time series tasks is their efficiency in training and generalization. Since convolutional layers require fewer parameters than fully connected networks, CNNs reduce the risk of overfitting, particularly when training data is limited. Moreover, the shared weights of the convolutional filters ensure that the model can detect recurring patterns regardless of their position in the time series, providing translation invariance which is a property beneficial when predicting cyclical or periodic phenomena such as daily temperature variations [45].
2.4.2 Artificial neural networks.
ANNs are computational models inspired by the structure and functioning of the human brain. An ANN is made up of a large number of interconnected processing units, known as neurons, which work in parallel to solve complex problems. These neurons are typically arranged in layers: an input layer that receives data, one or more hidden layers that process the data through weighted connections, and an output layer that produces the final prediction. Each neuron computes a weighted sum of its inputs and applies an activation function to determine its output [46]. The most common type of ANN used in prediction problems is the feedforward neural network (FFNN), where the data flows in one direction, from input to output without cycles or loops. In an FFNN, each neuron in a given layer is connected to every neuron in the next layer, and the strength of these connections is represented by weights. During training, these weights are adjusted using optimization algorithms such as backpropagation to minimize prediction error [47]. ANNs have proven particularly effective in modeling non-linear relationships, making them suitable for time series prediction tasks, such as predicting temperature. They are capable of learning from large datasets and generalizing well to unseen data when properly trained. In environmental and meteorological applications, ANNs have been widely used due to their flexibility and ability to approximate complex, dynamic systems. Despite lacking built-in temporal memory, they remain a powerful tool when time-dependent features are included as input variables [48,49].
2.4.3 Recurrent neural networks.
RNNs are a specialized class of ANNs designed to handle sequential and time-dependent data. Unlike traditional feedforward networks, RNNs introduce feedback loops that allow the model to retain past information across time steps. This memory mechanism enables RNNs to learn temporal patterns, making them particularly effective for time series prediction tasks, such as predicting temperature, humidity, or wind speed over hourly or daily intervals. An RNN is typically composed of an input layer, one or more hidden layers, and an output layer. Each neuron in the hidden layer receives not only the current input but also the output from the previous time step, which acts as a hidden state. This recurrent connection allows the model to capture time-dependent relationships across sequences [50–52]. Mathematically, the hidden state at time t is calculated as:
(1)where U and W are weight matrices, xt is the input at time t, ht-1 is the previous hidden state, b is the bias, and f is a non-linear activation function such as tanh or ReLU.
In this study, the RNN was implemented for concurrent hourly temperature prediction rather than next-step forecasting. Each input sample consisted of a five-hour sequence of meteorological observations from t – 4 through t, and the model estimated Tavg at hour t. The RNN contained 50 recurrent units with a tanh activation function, followed by a linear Dense(1) output layer. The model was trained with Adam optimization and MSE loss using a batch size of 32 and up to 100 epochs, with validation-based early stopping applied to restore the weights from the epoch with the lowest validation loss.
2.4.4 Support vector machines (SVM).
In this study, we implemented SVM regression to predict hourly temperature in Riyadh City. SVM, a robust and versatile ML algorithm originally proposed by Cortes and Vapnik [53], has demonstrated considerable effectiveness in environmental and climate modeling contexts [54,55]. Its ability to manage high-dimensional feature spaces and model complex, nonlinear relationships make it particularly suitable for predicting meteorological variables, which often exhibit nonlinear responses to environmental drivers [56–58].
SVM regression aims to identify a functional relationship that approximates the target variable (y) within a user-defined tolerance level while maintaining model simplicity. Mathematically, this relationship can be expressed as:
(2)where www is the weight vector, b is the bias term, and is a nonlinear mapping function projecting the input space into a higher-dimensional feature space. This mapping is crucial in environmental datasets, where linear models often fail to capture the inherent variability [59].
To enhance the flexibility of the regression model, we employed the Radial Basis Function (RBF) kernel, defined as:
(3)where γ determines the influence of individual training samples [60]. The RBF kernel has been widely recognized for its superior performance in environmental studies due to its ability to capture localized variations in climate data [59].
The SVM used the same five-hour meteorological information window as the other models, flattened into a tabular predictor vector. The model was implemented with an RBF kernel using C = 100, γ = 0.1, and . These hyperparameters were specified based on commonly used configurations and preliminary model testing. Predictor scaling parameters were estimated exclusively from the chronological training subset and then applied unchanged to the validation and independent test periods.
2.4.5 Random forest.
We also applied the RF regression algorithm to predict hourly temperatures in Riyadh City. RF, first introduced by Breiman [61], is an ensemble learning method that constructs a multitude of decision trees during training and outputs the mean prediction of the individual trees, thereby reducing overfitting and enhancing predictive robustness [61,62]. RF has been widely adopted for environmental and climatic data modeling due to its capacity to handle high-dimensional feature spaces and nonlinear dependencies [63,64]. Unlike single decision trees, which are prone to variance errors, RF aggregates predictions across multiple trees, resulting in improved generalization performance [60].
For a given dataset:
(4)where x represents the input feature vector and y denotes the daily temperature to be predicted, the RF model generates N decision trees {T1,T2,…,TN}. Each tree is trained on a bootstrap sample of the dataset, and at each split, a random subset of features is considered. The final prediction is obtained by averaging the predictions of all individual trees:
(5)where is the output of the i-th decision tree for input x. RF was implemented entirely at the hourly temporal resolution. In RF, the same five-hour sequence of meteorological predictors used by the other models was flattened into a single feature vector, ensuring equivalent temporal information across algorithms. The RF consisted of 100 decision trees and used a fixed random state of 42.
2.4.6 LSTM.
LSTM networks are a specialized type of RNN, designed to effectively capture long-term dependencies in sequential data. Unlike traditional RNNs, which struggle with vanishing gradient problems during backpropagation, LSTM networks use gated memory cells to selectively retain or discard information over time, enabling them to learn patterns from both short- and long-term historical data [65,66].
Each LSTM cell is composed of three primary gates: the forget gate, the input gate, and the output gate. These gates regulate the flow of information, allowing the network to retain or discard information over time. The cell state acts as a conveyor belt, carrying relevant information throughout the processing of the sequence [67].
At each time step t, the LSTM cell performs the following computations:
Forget Gate: Determines which information to discard from the cell state.
(6)Input Gate: Decides which new information to add to the cell state.
(7)(8)Cell State Update: Updates the cell state with the new information.
(9)Output Gate: Determines the output based on the updated cell state.
(10)(11)Here, σ denotes the sigmoid activation function, tanh represents the hyperbolic tangent function, is the input at time t, is the previous hidden state, and W and b are the weight matrices and bias vectors, respectively.
3 Results and discussion
3.1 Variability of temperature
The descriptive statistics (Table 1) and time-series plot (Fig 1) provided a detailed view of hourly Tavg patterns in Riyadh City from 2001 to 2023. Overall descriptive statistics suggest substantial diurnal and seasonal variability. Table 1 suggests that early morning hours, particularly around 5:00–6:00 AM, had the lowest mean temperatures (as low as 19.18°C) and recorded the lowest overall temperature of –2.78°C. Midday hours, especially from 12:00–2:00 PM, exhibited the highest mean values (peaking at 34.02°C at 1:00 PM) and reached maximum temperatures up to 47.47°C. The standard deviation also peaked during the late morning to early afternoon (up to 9.45°C at 9:00 AM), indicating greater variability during the day compared to night. The interquartile ranges widened during these peak hours (at 1:00 PM, the 25th and 75th percentiles spanned from 26.69°C to 42.05°C) indicating a large range of temperature values. Fig 1 confirmed these findings through the time-series visualization of hourly data, with consistent seasonal oscillations and annual peaks surpassing 45°C during summer and dipping below 10°C in winter. The 24-hour and 7-day moving averages smoothed out the diurnal and weekly cycles, clearly outlining seasonal extremes. Notably, post-2015 showed more frequent and prolonged temperature spikes, supporting the observed upward trends in months like July and September.
Fig 2 further refined this interpretation by illustrating hourly Tavg distributions across different months using box plots. It clearly showed that in the summer months (June to August), not only were the daytime temperatures highest (often exceeding 40°C) but the variability was also greatest between 10:00 AM and 4:00 PM, as seen by wider boxes and longer whiskers. For instance, July showed consistently elevated medians above 40°C between 11:00 AM and 3:00 PM, with many outliers indicating extreme heat events. In contrast, winter months such as January and December had narrower distributions and lower medians (around 14–20°C during midday), with early morning and late-night hours dropping close to or below 5°C. Transitional months like April and October showed greater spread in temperature distributions during both early and late hours, reflecting seasonal shifts. This monthly breakdown confirmed that the strongest diurnal variability occurred during the hot season, while cooler months maintained more stable hourly temperatures. Combined, descriptive statistics in Table 1, the time-series trend (Fig 1), and the monthly hourly box plots (Fig 2) consistently demonstrated Riyadh’s characteristic desert climate, marked by sharp day-night contrasts, extreme summer heat, and increasingly frequent high-temperature events over the past two decades.
The heat map in Fig 3 presents the mean average hourly temperatures in Riyadh City across all months from 2001 to 2023, revealing distinct seasonal and diurnal variations characteristic of an arid desert climate. Temperatures remained lowest between December and February, with values dropping to as low as 8.4°C in January at 5:00 AM and generally staying below 20°C until mid-morning. In contrast, the hottest conditions occur from June through August, with July recording peak temperatures of 44.1°C at 2:00 PM and remaining above 40°C between 12:00 PM and 4:00 PM. These extreme midday temperatures result from intense solar radiation, low humidity, and minimal vegetation cover, which collectively reduce atmospheric heat buffering. Transitional months such as April and October show moderate temperatures, averaging 20–30°C during most hours. A notable observation is the pronounced diurnal range in summer rising from around 30°C at 6:00 AM to over 44°C by 2:00 PM driven by rapid ground heating and lack of cloud insulation. In contrast, winter months exhibit smaller diurnal fluctuations due to longer nights and weaker solar intensity.
Fig 4 presents the hourly distribution of Tavg in Riyadh from 2001 to 2023 using kernel density plots for each hour of the day. During the early morning hours (00:00–07:00), the temperature distributions mostly peaked between 18°C and 28°C, with a secondary smaller mode around 10–15°C, especially at 4:00 and 5:00, reflecting the lowest daily temperatures. From 08:00 onward, the distribution curves gradually shifted right, indicating a steady increase in temperature. Between 12:00 and 16:00, the temperature densities peaked strongly between 35°C and 42°C, with the highest concentration occurring around 14:00, suggesting this period experienced the most intense heat. The shape of the distribution also became flatter during these hours, showing a wider range of temperature variation. From 17:00–19:00, the peak slowly declined to around 30–35°C, showing the cooling phase after solar noon. However, temperatures still remained elevated during early evening, with 18:00 showing a significant density above 35°C. After 20:00, the temperature distributions began to contract again, centering around 25–30°C by 22:00 and dropping further to 20–25°C by 23:00. This clear diurnal pattern reflected strong solar heating during the day and radiative cooling at night, with significant temperature concentration shifts of over 20°C between the coolest and warmest hours.
3.2 Dynamics and influence of climatic factors
To further investigate how hourly Tavg in Riyadh has been changing every month, we have calculated linear trend slope and presented it in Fig 5. Results show that most months showed a very small or nearly flat slope, suggesting minimal long-term change. However, slight warming trends appeared during the hotter months such as June, July, September, and October, each with a trend slope of 0.0001°C per unit time, indicating a gradual increase in temperatures over the years. The steepest increase occurred in July, when temperatures frequently exceeded 45°C during the daytime. Cooler months such as January, February, and December showed no noticeable trend (slope = 0.0000), reflecting more stable thermal behavior in winter. While the temperature variation remained high within each month, especially in summer, only a few months showed evidence of a slight upward warming trend, which aligned with broader regional warming patterns due to climate change. Also, the monthly Tavg in Fig 6 showing similar but clearer trends. Most months exhibited a positive trend, indicating gradual warming. September showed the highest rate of increase with a slope of 0.0597°C per year, followed by November (0.0715°C), June (0.0492°C), and July (0.0478°C), all of which suggested intensified heat during late summer and early autumn. January and October also showed considerable warming, with trend slopes of 0.0433°C and 0.0349°C respectively. In contrast, only a few months showed slight cooling trends: May (−0.0221°C), April (−0.0084°C), and March (−0.0030°C), indicating that early spring temperatures remained relatively stable or decreased slightly. These trends likely reflected the combined effects of urban heat island intensification, increased anthropogenic emissions, and reduced vegetation cover in urban areas, which amplified warming during the hotter months. Warming in cooler months such as January and November might have been influenced by increased nighttime heat retention due to expanding urban infrastructure. To better understand this, we have conducted multivariate regression analysis between Tavg and other climatic factors using hourly data.
The multivariate regression results in Table 2 were further supported and clarified by the Pearson correlation matrix in Fig 7, which showed the strength and direction of pairwise linear relationships between Tavg and various climatic variables. WBT, which showed the strongest and most significant positive regression coefficient (2.000, p < 0.001), also exhibited a high positive correlation with Tavg (r = 0.89), confirming its dominant role in influencing air temperature in Riyadh. Similarly, DFP, which had a perfect inverse regression coefficient (−1.000), showed a strong positive correlation with Tavg (r = 0.84), suggesting that despite the inverse coefficient possibly resulting from multicollinearity or model overfitting, DFP itself rose alongside temperature. Specific and relative humidity had weak or negative correlations with Tavg (r = 0.04 and r = −0.73, respectively), also showed non-significant regression results (p > 0.4), highlighting their limited contribution to temperature changes in this arid environment. Rainfall, WS10, and WS50 also showed near-zero correlations with temperature and were statistically insignificant in the regression model, indicating minimal impact on temperature variability. Interestingly, CSI and SI had significant but low regression coefficients (CSI: 1.12 × 10 ⁻ ⁶, p = 0.027; SI: −1.15 × 10 ⁻ ⁶, p = 0.029), and both were moderately correlated with Tavg (CSI: r = −0.53, SI: r = −0.54), suggesting that increased cloudiness or solar attenuation may be associated with cooler surface conditions. These correlations also explained why Tavg trends were more pronounced in months with strong solar exposure and higher WBT, such as July, September, and November (Fig 6). Overall, the combined evidence from regression and correlation analysis underscored WBT and DFP as key climatic drivers of temperature in Riyadh, while humidity, rain, and wind played minor roles in this dry, solar-driven system.
Fig 8 showed the lagged correlation between Tavg and various climatic variables over a 60-hour window (−30 to +30 hours), indicating how each factor influenced or responded to temperature changes over time. Results suggest that WBT and RH both reached their highest correlation with Tavg at a lag of 0 hours, suggesting that their effects on temperature were immediate and synchronous. This highlights their strong thermodynamic linkage in real-time. CSI and SI both had maximum correlations at a lag of +26 hours, indicating that these variables influenced temperature with a delayed effect, likely due to accumulated radiative impacts over time. DFP and SH showed strongest correlation at lags of −17 and −16 hours respectively, suggesting that changes in humidity and dew conditions preceded temperature fluctuations by nearly a day. Rainfall had its peak correlation at +20 hours, though its overall correlation was weak, confirming its limited influence on temperature in this arid region. Wind speeds at 10m and 50m (WS10 and WS50) had their peak effects at −23 and −30 hours respectively, implying that wind conditions influenced upcoming temperature changes with a leading effect, possibly due to advective heat transfer or changes in air mass characteristics. These lag effects supported previous regression and correlation findings, emphasizing that while WBT and RH directly tracked Tavg, other variables like CSI, SI, and wind had lagged effects, playing more complex roles in modulating temperature dynamics in Riyadh’s desert climate.
3.3 Diurnal temperature prediction
To accurately predict the diurnal Tavg variability, we have used the LSTM, ANN, CNN, RNN, SVM and RF models, using the leakage-controlled predictor set, excluding dew/frost-point temperature and wet-bulb temperature Table 3.
summarizes the independent-test performance, with models ranked according to RMSE as the primary evaluation criterion. The LSTM model achieved the highest overall accuracy, with R2 = 0.99981, RMSE = 0.1371°C, MAE = 0.1092°C, MAPE = 0.5251%, and RMSLE = 0.0072. The RNN ranked second (R2 = 0.99944, RMSE = 0.2320°C), followed by RF (R2 = 0.99922, RMSE = 0.2739°C). Although RF had a slightly lower R2 than RNN, it produced a lower MAE (0.1141°C versus 0.1802°C), indicating strong absolute-error performance. ANN also performed well, with R2 = 0.99896 and RMSE = 0.3173°C, whereas CNN showed a noticeable reduction in accuracy R2 = 0.99236, RMSE = 0.8590°C). SVM was the least accurate model, with R2 = 0.95515, RMSE = 2.0805°C, MAE = 1.6268°C, MAPE = 7.3800%, and RMSLE = 0.1042, indicating greater difficulty in reproducing the nonlinear hourly temperature variability. These performance differences are also evident in Figs 9 and 10. In Fig 9, LSTM, RNN, RF, and ANN predictions remain closely aligned with the 1:1 reference line, whereas CNN shows greater dispersion and SVM exhibits the widest spread from the reference line. Fig 10 similarly shows that LSTM provides the closest temporal agreement between observed and predicted temperatures throughout the independent test period, followed by RNN and RF, while prediction deviations are more pronounced for CNN and especially SVM.
Sensitivity analysis showed that including dew/frost-point temperature and wet-bulb temperature substantially improved predictive performance for several models, particularly RF, CNN, ANN, and RNN (Table S1 and Figure S1 in S1 Appendix). RMSE for RF decreased from 0.2739°C to 0.0578°C when these variables were included, corresponding to an approximately 78.9% reduction. Similar reductions were observed for CNN (67.3%), ANN (64.1%), and RNN (62.4%). In contrast, LSTM showed only modest improvement. This confirms that DFP and WBT provide substantial target-related information because of their thermodynamic dependence on air temperature.
4 Conclusions
This study shows that hourly air temperature in Riyadh exhibits distinct diurnal and seasonal variability characteristics of arid climates and that these temporal patterns can be effectively represented using data-driven prediction models. The lag-correlation analysis further showed that the strength and timing of associations between meteorological variables and air temperature differed across variables; however, these lagged relationships should be interpreted as temporal associations rather than evidence of delayed causal effects. Among the six prediction models evaluated using the leakage-controlled predictor set, the LSTM model achieved the best overall performance based on RMSE, followed by the RNN and Random Forest models, demonstrating the strong capability of recurrent and ensemble approaches to represent nonlinear meteorological relationships in hourly temperature prediction. These findings suggest that combining temporal climate analysis with machine learning provides critical information for understanding temperature dynamics and produces reliable hourly temperature predictions that can support applications requiring high temporal resolution climate information, including building energy forecasting, cooling demand estimation, and urban energy management. From an applied perspective, the predicted hourly temperature series provides a valuable meteorological input for downstream applications, particularly building energy forecasting, cooling demand estimation, demand-side energy management, and smart city planning. In arid environments, where outdoor temperature is a dominant driver of HVAC energy consumption, integrating these predictions with building-specific characteristics, such as occupancy patterns, building type, construction materials, and insulation properties, has the potential to improve operational efficiency and support more effective urban energy management.
Despite these critical contributions, this study has several limitations to acknowledge. The prediction models were developed using meteorological variables only and did not explicitly account for urban expansion or urban heat island intensity. Consequently, the predicted temperatures represent the combined effects of meteorological forcing and long-term environmental changes contained within the historical observations rather than the isolated influence of urbanization. Furthermore, the analysis was conducted at the city scale and therefore does not capture local spatial heterogeneity within Riyadh. Future research should integrate urban morphological characteristics, such as built-up area, land surface temperature, impervious surface fraction, vegetation cover, and nighttime light intensity, together with building-specific information, to quantify the contribution of urban development to temperature variability and to further improve the applicability of temperature prediction for urban climate adaptation and energy management. Although dew/frost-point temperature and wet-bulb temperature are thermodynamically related to air temperature, these variables were excluded from the primary prediction models to minimize target-information leakage and were examined only in a separate sensitivity analysis. The sensitivity analysis showed that including these variables substantially reduced prediction errors for several models, confirming that they contain strong target-related information; therefore, the leakage-controlled results excluding DFP and WBT were retained as the principal performance estimates. Because the prediction framework estimates concurrent hourly temperature using meteorological information up to and including the target hour, the reported metrics represent concurrent predictive performance rather than true future forecasting skill. Accordingly, the reported metrics should be interpreted as indicators of concurrent predictive capability, and future work adopting an explicit forecasting design with lagged inputs and defined lead times (for example, t + 1 to t + 24 hours) would provide a more stringent test of predictive skill for early-warning and energy-planning applications.
Supporting information
S1 Appendix. Sensitivity of model performance to the inclusion of dew/frost-point and wet-bulb temperature as predictors.
Table S1 reports the independent-test performance of the six models with dew/frost-point temperature (DFP) and wet-bulb temperature (WBT) included. Figure S1 compares the independent-test RMSE (°C) of each model with and without these predictors.
https://doi.org/10.1371/journal.pone.0363669.s001
(DOCX)
S1 Data. Hourly meteorological dataset for Riyadh, 2001–2023.
Hourly variables obtained from the NASA POWER project and used in all analyses.
https://doi.org/10.1371/journal.pone.0363669.s002
(XLSX)
S1 File. Analysis code.
Python code used for data preprocessing, model development, training, evaluation, and generation of all figures and tables.
https://doi.org/10.1371/journal.pone.0363669.s003
(DOCX)
Acknowledgments
Declaration of generative AI and AI-assisted technologies in the writing process: During the preparation of this work, the authors used Copilot and Claude to improve the readability and language of the manuscript. After using these tools/services, the authors reviewed and edited the content as needed and took full responsibility for the content of the published article.
References
- 1.
United Nations Environment Management Group. Global drylands: a UN system-wide response. Geneva: United Nations Environment Programme. 2011.
- 2. Hussain J, Khaliq T, Ahmad A, Akhter J, Asseng S. Wheat responses to climate change and its adaptations: a focus on arid and semi-arid environment. Int J Environ Res. 2018;12:117–26.
- 3. Cheng J, Xu Z, Zhu R, Wang X, Jin L, Song J, et al. Impact of diurnal temperature range on human health: a systematic review. Int J Biometeorol. 2014;58(9):2011–24. pmid:24535132
- 4. Wang H, Ma Y, Cheng B, Li H, Feng F, Zhang C, et al. Health effect of temperature change on respiratory diseases in opposite phase in semi-arid region. Environ Sci Pollut Res Int. 2023;30(5):12953–64. pmid:36117224
- 5. Aït-Mesbah S, Dufresne JL, Cheruy F, Hourdin F. The role of thermal inertia in the representation of mean and diurnal range of surface temperature in semiarid and arid regions. Geophys Res Lett. 2015;42(18):7572–80.
- 6. Aliabad FA, Ghaderpour E, Zare M, Malamiri HG. A Comparative Study of Estimating Hourly Images of MODIS Land Surface Temperature Using Diurnal Temperature Cycle Models in Arid Regions. IEEE Access. 2024;12:44858–72.
- 7. Rasul A, Balzter H, Smith C. Diurnal and Seasonal Variation of Surface Urban Cool and Heat Islands in the Semi-Arid City of Erbil, Iraq. Climate. 2016;4(3):42.
- 8.
International Energy Agency. Energy efficiency 2024. Paris: IEA. 2024.
- 9. Seo E, Dirmeyer PA. Understanding the diurnal cycle of land–atmosphere interactions from flux site observations. Hydrol Earth Syst Sci. 2022;26(20):5411–29.
- 10. Gong F-Y, Yang Z, Deng S. Fine-scale assessment of diurnal heat health risk based on satellite and street view images. Cities. 2025;162:105963.
- 11.
Li Z, Zou H, Qi B. Application of ARIMA and LSTM in Relative Humidity Prediction. In: 2019 IEEE 19th International Conference on Communication Technology (ICCT), 2019. 1544–9. https://doi.org/10.1109/icct46805.2019.8947142
- 12. Belavadi SV, Rajagopal S, R R, Mohan R. Air Quality Forecasting using LSTM RNN and Wireless Sensor Networks. Procedia Computer Science. 2020;170:241–8.
- 13. Yang Y, Gao P, Sun Z, Wang H, Lu M, Liu Y. Multistep ahead prediction of temperature and humidity in solar greenhouse based on FAM-LSTM model. Comput Electron Agric. 2023;213:108261.
- 14. Guo Q, He Z, Wang Z. Assessing the effectiveness of long short-term memory and artificial neural network in predicting daily ozone concentrations in Liaocheng City. Sci Rep. 2025;15(1):6798. pmid:40000767
- 15. He Z, Guo Q, Wang Z, Li X. A Hybrid Wavelet-Based Deep Learning Model for Accurate Prediction of Daily Surface PM2.5 Concentrations in Guangzhou City. Toxics. 2025;13(4):254. pmid:40278570
- 16. He Z, Guo Q. Comparative Analysis of Multiple Deep Learning Models for Forecasting Monthly Ambient PM2.5 Concentrations: A Case Study in Dezhou City, China. Atmosphere. 2024;15(12):1432.
- 17. Sankalp S, Sahoo BB, Sahoo SN. Deep learning models comparable assessment and uncertainty analysis for diurnal temperature range (DTR) predictions over Indian urban cities. Results in Engineering. 2022;13:100326.
- 18. Ozbek A, Sekertekin A, Bilgili M, Arslan N. Prediction of 10-min, hourly, and daily atmospheric air temperature: comparison of LSTM, ANFIS-FCM, and ARMA. Arab J Geosci. 2021;14(7).
- 19. Kareem S, Hamad ZJ, Askar S. An evaluation of CNN and ANN in prediction weather forecasting: a review. Sustain Eng Innov. 2021;3(2):148–59.
- 20. Guo Q, He Z, Wang Z. Prediction of monthly average and extreme atmospheric temperatures in Zhengzhou based on artificial neural network and deep learning models. Front For Glob Change. 2023;6.
- 21. Guo Q, He Z, Wang Z, Qiao S, Zhu J, Chen J. A Performance Comparison Study on Climate Prediction in Weifang City Using Different Deep Learning Models. Water. 2024;16(19):2870.
- 22. Maghrabi A, Aldosari A, Al Mutairi M, Altlasi M, Al Shehre A. Unveiling Riyadh’s urban heat island: a 37-year analysis of temperature trends and climate dynamics. Atmos Clim Sci. 2026;16:170–89.
- 23. Hou J, Wang Y, Zhou J, Tian Q. Prediction of hourly air temperature based on CNN–LSTM. Geomatics, Natural Hazards and Risk. 2022;13(1):1962–86.
- 24.
Elsheshtawy Y. Riyadh: transforming a desert city. London: Routledge. 2021.
- 25. Alqahtany A, Aravindakshan S. Urbanization in Saudi Arabia and sustainability challenges of cities and heritage sites: heuristical insights. J Cult Herit Manag Sustain Dev. 2022;12(4):408–25.
- 26. Almulhim AI, Kafy AA, Ferdous MN, Fattah MA, Morshed SR. Harnessing urban analytics and machine learning for sustainable urban development: A multidimensional framework for modeling environmental impacts of urbanization in Saudi Arabia. J Environ Manage. 2024;357:120705. pmid:38569264
- 27. Alghamdi AS, Moore TW. Detecting temporal changes in Riyadh’s urban heat island. Pap Appl Geogr. 2015;1(4):312–25.
- 28. Rahman MT. Examining and modelling the determinants of the rising land surface temperatures in Arabian desert cities: an example from Riyadh, Saudi Arabia. J Settl Spat Plan. 2018;9(1).
- 29. Alghamdi AS, Alzhrani AI, Alanazi HH. Local Climate Zones and Thermal Characteristics in Riyadh City, Saudi Arabia. Remote Sensing. 2021;13(22):4526.
- 30. van Wart J, Grassini P, Yang H, Claessens L, Jarvis A, Cassman KG. Creating long-term weather data from thin air for crop simulation modeling. Agric For Meteorol. 2015;209–210:49–58.
- 31. Almazroui M, Nazrul Islam M, Athar H, Jones PD, Rahman MA. Recent climate change in the Arabian Peninsula: annual rainfall and temperature analysis of Saudi Arabia for 1978–2009. Intl Journal of Climatology. 2012;32(6):953–66.
- 32. Srivastava P, Singh P, Mall R, Pradhan R, Bray M, Gupta A. Performance assessment of evapotranspiration estimated from different data sources over agricultural landscape in northern India. Theor Appl Climatol. 2020;140(1–2):145–56.
- 33. Ali A. Transforming Saudi Arabia’s Energy Landscape towards a Sustainable Future: Progress of Solar Photovoltaic Energy Deployment. Sustainability. 2023;15(10):8420.
- 34. Al Garni HZ. The Impact of Soiling on PV Module Performance in Saudi Arabia. Energies. 2022;15(21):8033.
- 35. He Z, Guo Q, Wang Z, Li X. Prediction of Monthly PM2.5 Concentration in Liaocheng in China Employing Artificial Neural Network. Atmosphere. 2022;13(8):1221.
- 36. Guo Q, He Z, Li S, Li X, Meng J, Hou Z, et al. Air Pollution Forecasting Using Artificial and Wavelet Neural Networks with Meteorological Conditions. Aerosol Air Qual Res. 2020;20(6):1429–39.
- 37.
Pao-Tsun Lin, Shun-Feng Su, Tsu-Tian Lee. Support vector regression performance analysis and systematic parameter selection. In: Proceedings. 2005 IEEE International Joint Conference on Neural Networks, 2005. 877–82. https://doi.org/10.1109/ijcnn.2005.1555968
- 38. Moradi M, Zhai Z-M, Nielsen A, Lai Y-C. Random forests for detecting weak signals and extracting physical information: A case study of magnetic navigation. APL Machine Learning. 2024;2(1).
- 39. Guo Q, He Z, Wang Z. Monthly climate prediction using deep convolutional neural network and long short-term memory. Sci Rep. 2024;14(1):17748. pmid:39085577
- 40.
Borovykh A, Bohte S, Oosterlee CW. Conditional time series forecasting with convolutional neural networks. 2017. https://arxiv.org/abs/1703.04691
- 41.
Koprinska I, Wu D, Wang Z. Convolutional Neural Networks for Energy Time Series Forecasting. In: 2018 International Joint Conference on Neural Networks (IJCNN), IEEE; 2018. 1–8. https://doi.org/10.1109/ijcnn.2018.8489399
- 42. Velastegui R, Zhinin-Vera L, Pilliza GE, Chang O. Time Series Prediction by Using Convolutional Neural Networks. Advances in Intelligent Systems and Computing. Springer International Publishing. 2020. p. 499–511.
- 43. Durairaj DM, Mohan BHK. A convolutional neural network based approach to financial time series prediction. Neural Comput Appl. 2022;34(16):13319–37. pmid:35345555
- 44. Zhang J, Wang B, Hua M, Chen Z, Liang S, Kang X. Spatiotemporal Meteorological Prediction Based on Fully Convolutional Neural Network. IEEE Trans Geosci Remote Sensing. 2024;62:1–18.
- 45. Badrinath A, Delle Monache L, Hayatbini N, Chapman W, Cannon F, Ralph M. Improving Precipitation Forecasts with Convolutional Neural Networks. Weather and Forecasting. 2023.
- 46. Kukreja H, Bharath N, Siddesh CS, Kuldeep S. An introduction to artificial neural network. Int J Adv Res Innov Ideas Educ. 2016;1(5):27–30.
- 47. Talaat M, Farahat MA, Mansour N, Hatata AY. Load forecasting based on grasshopper optimization and a multilayer feed-forward neural network using regressive approach. Energy. 2020;196:117087.
- 48. Litta AJ, Mary Idicula S, Mohanty UC. Artificial neural network model in prediction of meteorological parameters during premonsoon thunderstorms. Int J Atmos Sci. 2013;2013(1):525383.
- 49. Erdil A, Arcaklioglu E. The prediction of meteorological variables using artificial neural network. Neural Comput & Applic. 2012;22(7–8):1677–83.
- 50. Pang Z, Niu F, O’Neill Z. Solar radiation prediction using recurrent neural network and artificial neural network: A case study with comparisons. Renewable Energy. 2020;156:279–89.
- 51. Lee D, Kim K. Recurrent Neural Network-Based Hourly Prediction of Photovoltaic Power Output Using Meteorological Information. Energies. 2019;12(2):215.
- 52. Poornima S, Pushpalatha M. Prediction of Rainfall Using Intensified LSTM Based Recurrent Neural Network with Weighted Linear Units. Atmosphere. 2019;10(11):668.
- 53. Cortes C, Vapnik V. Support-vector networks. Mach Learn. 1995;20:273–97.
- 54. Shrestha NK, Shukla S. Support vector machine based modeling of evapotranspiration using hydro-climatic variables in a sub-tropical environment. Agric For Meteorol. 2015;200:172–84.
- 55. Khan N, Shahid S, Ismail TB, Behlil F. Prediction of heat waves over Pakistan using support vector machine algorithm in the context of climate change. Stoch Environ Res Risk Assess. 2021;35(7):1335–53.
- 56. Zendehboudi A, Baseer MA, Saidur R. Application of support vector machine models for forecasting solar and wind energy resources: a review. J Clean Prod. 2018;199.
- 57. Raghavendra. N S, Deka PC. Support vector machine applications in the field of hydrology: A review. Applied Soft Computing. 2014;19:372–86.
- 58. Radhika Y, Shashi M. Atmospheric Temperature Prediction using Support Vector Machines. IJCTE. 2009;:55–8.
- 59. Wang Y, Wang X, Li X, Liu W, Yang Y. Future Climate Prediction Based on Support Vector Machine Optimization in Tianjin, China. Atmosphere. 2023;14(8):1235.
- 60. Zhang H, Zimmerman J, Nettleton D, Nordman DJ. Random forest prediction intervals. Am Stat. 2020;74(4):392–406.
- 61. Breiman L. Random Forests. Machine Learning. 2001;45(1):5–32.
- 62. Boateng EY, Otoo J, Abaye DA. Basic Tenets of Classification Algorithms K-Nearest-Neighbor, Support Vector Machine, Random Forest and Neural Network: A Review. JDAIP. 2020;08(04):341–57.
- 63. Tyralis H, Papacharalampous G. Variable Selection in Time Series Forecasting Using Random Forests. Algorithms. 2017;10(4):114.
- 64. Wang X, Liu T, Zheng X, Peng H, Xin J, Zhang B. Short-term prediction of groundwater level using improved random forest regression with a combination of random features. Appl Water Sci. 2018;8(5).
- 65. Hochreiter S, Schmidhuber J. Long short-term memory. Neural Comput. 1997;9(8):1735–80. pmid:9377276
- 66. He Z, Guo Q, Zhang Z, Feng G, Qiao S, Wang Z. Forecasting daily ambient PM2.5 concentrations in Qingdao City using deep learning and hybrid interpretable models and analysis of driving factors using SHAP. Toxics. 2026;14(1):44.
- 67. Van Houdt G, Mosquera C, Nápoles G. A review on the long short-term memory model. Artif Intell Rev. 2020;53(8):5929–55.

관련 뉴스