| Literature DB >> 34556676 |
Marwah Sattar Hanoon1,2, Ali Najah Ahmed3, Nur'atiah Zaini4, Arif Razzaq5, Pavitra Kumar6, Mohsen Sherif7,8, Ahmed Sefelnasr7, Ahmed El-Shafie6,7.
Abstract
Accurately predicting meteorological parameters such as air temperature and humidity plays a crucial role in air quality management. This study proposes different machine learning algorithms: Gradient Boosting Tree (G.B.T.), Random forest (R.F.), Linear regression (LR) and different artificial neural network (ANN) architectures (multi-layered perceptron, radial basis function) for prediction of such as air temperature (T) and relative humidity (Rh). Daily data over 24 years for Kula Terengganu station were obtained from the Malaysia Meteorological Department. Results showed that MLP-NN performs well among the others in predicting daily T and Rh with R of 0.7132 and 0.633, respectively. However, in monthly prediction T also MLP-NN model provided closer standards deviation to actual value and can be used to predict monthly T with R 0.8462. Whereas in prediction monthly Rh, the RBF-NN model's efficiency was higher than other models with R of 0.7113. To validate the performance of the trained both artificial neural network (ANN) architectures MLP-NN and RBF-NN, both were applied to an unseen data set from observation data in the region. The results indicated that on either architecture of ANN, there is good potential to predict daily and monthly T and Rh values with an acceptable range of accuracy.Entities:
Year: 2021 PMID: 34556676 PMCID: PMC8460791 DOI: 10.1038/s41598-021-96872-w
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.379
Figure 1(a) Location of Kuala Terengganu on the map [Imagery ©2021 TerraMetrics, Map data ©2021 Google], (b) Temperature and humidity data.
Simple statistical analysis for the measured air temperature (T) and relative humidity (Rh).
| Rh % | ||
|---|---|---|
| Mean | 27.20 | 82.74 |
| Standard error | 0.01 | 0.04 |
| Median | 27.20 | 82.50 |
| Mode | 27.10 | 83.30 |
| Standard deviation | 1.15 | 5.00 |
| Sample variance | 1.31 | 25.01 |
| Kurtosis | 57.85 | 42.89 |
| Skewness | − 2.54 | − 2.38 |
| Maximum | 30.70 | 98.20 |
| Count | 12,784 | 12,784 |
Figure 2G.B.T approach.
Figure 3Structure of random forest (R.F.).
Figure 4MLP-NN architecture.
Figure 5Architecture of RBF-ANN.
Figure 6A.C.F. and PACF for air temperature and relative humidity using daily and monthly lags.
Input design for air temperature and relative humidity.
| Name models | Input combination | Output |
|---|---|---|
| M1 | Tt-1 | Tt |
| M2 | Tt-1, Tt-2 | Tt |
| M3 | Tt-1, Tt-2, Tt-3 | Tt |
| M4 | Tt-1, Tt-2, Tt-3, Tt-4 | Tt |
| M5 | Tt-1, Tt-2, Tt-3, Tt-4, Tt-5 | Tt |
| M6 | Tt-1, Tt-2, Tt-3, Tt-4, Tt-5, Tt-6 | Tt |
| M7 | Rh t-1 | Rh t |
| M8 | Rh t-1, Rh t-2 | Rh t |
| M9 | Rh t-1, Rh t-2, Rh t-3 | Rh t |
| M10 | Rh t-1, Rh t-2, Rh t-3, Rh t-4 | Rh t |
| M11 | Rh t-1, Rh t-2, Rh t-3, Rh t-4, Rh t-5 | Rh t |
| M12 | Rh t-1, Rh t-2, Rh t-3, Rh t-4, Rh t-6, Rh t-6 | Rh t |
| M13 | Tm-1 | Tm |
| M14 | Tm-1, Tm-2 | Tm |
| M15 | Tm-1, Tm-2, Tm-3 | Tm |
| M16 | Tm-1, Tm-2, Tm-3, Tm-4 | Tm |
| M17 | Rh m-1 | Rh m |
| M18 | Rh m-1, Rh m-2 | Rh m |
| M19 | Rh m-1, Rh m-2, Rh m-3 | Rh m |
| M20 | Rh m-1, Rh m-2, Rh m-3, Rh m-4 | Rh m |
Results of a performance evaluation using the developed ML techniques during testing phase.
| MLP | RBF | GBT | RF | LR | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| R | MAE | RMSE | R | MAE | RMSE | R | MAE | RMSE | R | MAE | RMSE | R | MAE | RMSE | |
| M1 | 0.695 | 0.019 | 0.027 | 0.691 | 0.019 | 0.027 | 0.692 | 0.019 | 0.027 | 0.694 | 0.019 | 0.027 | 0.656 | 0.019 | 0.027 |
| M2 | 0.702 | 0.018 | 0.027 | 0.677 | 0.019 | 0.028 | 0.699 | 0.019 | 0.027 | 0.701 | 0.019 | 0.027 | 0.671 | 0.019 | 0.023 |
| M3 | 0.707 | 0.018 | 0.026 | 0.435 | 0.032 | 0.036 | 0.704 | 0.018 | 0.027 | 0.703 | 0.019 | 0.027 | 0.678 | 0.019 | 0.026 |
| M4 | 0.709 | 0.018 | 0.026 | 0.444 | 0.031 | 0.034 | 0.706 | 0.018 | 0.026 | 0.704 | 0.019 | 0.027 | 0.686 | 0.018 | 0.026 |
| M5 | 0.710 | 0.018 | 0.026 | 0.488 | 0.024 | 0.033 | 0.709 | 0.018 | 0.026 | 0.697 | 0.019 | 0.027 | 0.686 | 0.018 | 0.026 |
| M6 | 0.713 | 0.018 | 0.026 | 0.433 | 0.037 | 0.032 | 0.711 | 0.018 | 0.026 | 0.697 | 0.019 | 0.027 | 0.686 | 0.018 | 0.026 |
| M7 | 0.609 | 0.027 | 0.040 | 0.591 | 0.027 | 0.041 | 0.597 | 0.028 | 0.041 | 0.611 | 0.027 | 0.040 | 0.575 | 0.027 | 0.040 |
| M8 | 0.618 | 0.027 | 0.040 | 0.544 | 0.029 | 0.043 | 0.607 | 0.027 | 0.041 | 0.623 | 0.027 | 0.040 | 0.583 | 0.027 | 0.040 |
| M9 | 0.624 | 0.027 | 0.040 | 0.458 | 0.029 | 0.029 | 0.610 | 0.027 | 0.040 | 0.627 | 0.027 | 0.040 | 0.592 | 0.027 | 0.040 |
| M10 | 0.624 | 0.027 | 0.040 | 0.408 | 0.042 | 0.037 | 0.612 | 0.027 | 0.040 | 0.629 | 0.026 | 0.040 | 0.613 | 0.027 | 0.040 |
| M11 | 0.625 | 0.026 | 0.040 | 0.434 | 0.039 | 0.035 | 0.613 | 0.027 | 0.040 | 0.631 | 0.026 | 0.040 | 0.614 | 0.027 | 0.040 |
| M12 | 0.634 | 0.026 | 0.039 | 0.472 | 0.023 | 0.029 | 0.615 | 0.027 | 0.040 | 0.631 | 0.026 | 0.040 | 0.616 | 0.026 | 0.040 |
| M13 | 0.767 | 0.013 | 0.016 | 0.784 | 0.013 | 0.016 | 0.782 | 0.013 | 0.016 | 0.776 | 0.013 | 0.016 | 0.735 | 0.013 | 0.016 |
| M14 | 0.786 | 0.012 | 0.016 | 0.801 | 0.012 | 0.015 | 0.801 | 0.012 | 0.015 | 0.807 | 0.012 | 0.015 | 0.748 | 0.012 | 0.016 |
| M15 | 0.828 | 0.011 | 0.014 | 0.830 | 0.011 | 0.014 | 0.818 | 0.011 | 0.015 | 0.840 | 0.011 | 0.014 | 0.768 | 0.012 | 0.015 |
| M16 | 0.846 | 0.011 | 0.014 | 0.832 | 0.011 | 0.014 | 0.830 | 0.011 | 0.014 | 0.840 | 0.011 | 0.014 | 0.775 | 0.012 | 0.015 |
| M17 | 0.582 | 0.018 | 0.023 | 0.614 | 0.017 | 0.023 | 0.639 | 0.017 | 0.022 | 0.618 | 0.017 | 0.023 | 0.528 | 0.018 | 0.023 |
| M18 | 0.655 | 0.017 | 0.022 | 0.666 | 0.016 | 0.021 | 0.632 | 0.017 | 0.022 | 0.662 | 0.017 | 0.021 | 0.529 | 0.018 | 0.023 |
| M19 | 0.670 | 0.016 | 0.021 | 0.703 | 0.016 | 0.020 | 0.646 | 0.017 | 0.022 | 0.702 | 0.016 | 0.021 | 0.536 | 0.018 | 0.023 |
| M20 | 0.651 | 0.017 | 0.022 | 0.713 | 0.015 | 0.020 | 0.653 | 0.017 | 0.022 | 0.684 | 0.016 | 0.021 | 0.539 | 0.018 | 0.023 |
Figure 7Scatter plots of actual and predicting monthly Rh use the most accurate combination of input parameters using the developed ML algorithms.
Figure 8Observed and predicted monthly T values use the most accurate input combination using the developed ML algorithms.
Figure 9Taylor diagram of predicting daily T amounts using the most accurate models.
Figure 10Taylor diagram of predicting daily Rh percent using the most accurate models.
Figure 11Taylor diagram of predicting monthly T amounts using the most accurate models.
Figure 12Taylor diagram of predicting monthly Rh percent using the most accurate models.
Figure 13Summary of A.I. for MLP-NN over daily and monthly predict T and Rh.
Results of 95PPU and d-factor for best models in prediction daily and monthly.
| Model | Lower | Upper | 95PPU | d-factor | |
|---|---|---|---|---|---|
| Daily | MLP-NN | 24.62741 | 30.35311 | 99.9765 | 0.00039 |
| Monthly | MLP-NN | 25.9026 | 123.3846 | 99.5147 | 0.3037 |
| Daily | MLP-NN | 50.31563 | 91.68713 | 99.8278 | 0.000647 |
| Monthly | RBF-NN | 77.0440 | 174.4773 | 99.0291 | 0.0842 |