پژوهش های اقلیم شناسی

پژوهش های اقلیم شناسی

تحلیل وضعیت آب و هوایی با یادگیری عمیق مبتنی بر انتخاب ویژگی با الگوریتم یادگیری کلاغ

نوع مقاله : مقاله پژوهشی

نویسندگان
1 استادیار، دانشگاه آزاد اسلامی واحد بیرجند، گروه کامپیوتر، بیرجند، ایران
2 دانشجوی دکتری، دانشگاه آزاد اسلامی واحد بیرجند، بیرجند، ایران.
3 کارشناس ارشد پژوهشی، پژوهشکده اقلیم شناسی مشهد، ایران
چکیده
الگوریتم‌های فراابتکاری روش‌های حل مسئله‌ای است که از رویداد‌های موجود در طبیعت و یا رفتار جانداران الگوبرداری شده است. در این الگوریتم‌ها شیوه‌های حل مسئله در جانداران مورد مدلسازی و الگوبرداری قرار گرفته شده است تا بتوان راه‌حلهای بهینه را استخراج نمود. الگوریتم‌های فراابتکاری در زمبنه‌های مختلف دارای کاربرد می‌باشند که یکی از آنها بهینه‌سازی پارامترهای یادگیری ماشین و یادگیری عمیق است. شبکه‌های عصبی یادگیری عمیق کاربردهای زیادی در موضوعات مختلف مانند پیش بینی، طبقه‌بندی و تشخیص الگو دارند. یکی از کاربردهای مهم شبکه‌های عصبی یادگیری عمیق، موضوع پیش بینی وضعیت آب و هوایی است. شبکه عصبی LSTM یک روش یادگیری عمیق است که می‌تواند برای تشخیص وضعیت آب و هوایی استفاده شود. در لایه اول شبکه یادگیری عمیق LSTM، از انتخاب ویژگی خودکار و در لایه آخر فاز طبقه‌بندی خودکار انجام می‌شود. در این مقاله برای کاهش دادن خطای پیش بینی و طبقه‌بندی شبکه یادگیری عمیق LSTM یک رویکرد دو مرحله‌ای برای بهبود این شبکه یادگیری عمیق ارایه می‌شود. در فاز اول از الگوریتم یادگیری کلاغ برای انتخاب ویژگی در لایه اول شبکه LSTM استفاده می‌شود تا یادگیری روی ویژگی‌های مهم متمرکز شود. ارزیابی‌ها نشان داد دقت روش پیشنهادی در پیش بینی وضعیت آب و هوایی برابر 96.92% است و این در حالی است که اگر برای پیش بینی از انتخاب ویژگی استفاده نشود و فقط از شبکه یادگیری عمیق استفاده شود آنگاه دقت روش پیشنهادی در حدود 93.21% است. ارزیابی‌ها نشان می‌دهد دقت روش پیشنهادی برای پیش بینی وضعیت آب و هوایی از روش LSTM و MLP بیشتر است.
کلیدواژه‌ها

عنوان مقاله English

Weather analysis with deep learning Based on feature selection with crow learning algorithm

نویسندگان English

hamidreza ghaffari 1
samira shahraki 2
sharareh malboosi 3
1 Ferdous - Islamic Azad University - Faculty - Assistant Professor - University President
2 PHD student
3 Climatology Research Institute-Climatic Disasters Group-Mashhad-Iran
چکیده English

Deep learning neural networks have many applications in various topics such as prediction, classification and pattern recognition. LSTM neural network is a deep learning method that can be used to detect weather conditions. In the first phase, the crow's learning algorithm is used to select the feature in the first layer of the LSTM network. The evaluations showed that the accuracy of the proposed method is 96.92% and without using the feature selection, it is about 93.21%. The evaluations show that the accuracy of the proposed method for forecasting the weather condition is higher than LSTM and MLP methods.

Keywords: deep learning, LSTM network, crow learning algorithm, weather forecasting



1. Introduction

Meta-heuristic algorithms are problem solving methods that are modeled on the events in nature or the behavior of living beings so that optimal solutions can be extracted. Collective intelligence algorithms [1] are a kind of meta-heuristic algorithms that are modeled on the behavior of living beings that live in a group and social life, such as hunting behavior, hyena optimization algorithm, whale optimization algorithm, etc. Is. Meta-heuristic algorithms can be divided into different categories based on the method of problem solving, one of which is shown in the research [2] in 2020 according to the diagram in Figure (1) and can be seen. Meta-heuristic algorithms are divided into 4 different groups and categories based on their performance:



Figure 1: Classification of meta-heuristic algorithms into different categories [2]

Meta-heuristic algorithms are used in various fields, one of which is the optimization of machine learning and deep learning parameters. One of the applications of machine learning and deep learning is in weather forecasting. In this article, to improve the accuracy of the LSTM network, the optimization of important features using the learning method in crows has been used.

2. LSTM learning network

In the short term, long memory neural networks are actually a type of recurrent neural networks [3].

In the LSTM network, with the help of the sigmoid function that is applied element by element, the input, forgetting and output gate layers produce vectors whose all dimensions are between zero and one or close to both. The general structure of LSTM deep learning neural network is as shown in Figure (2):

Figure 2. The structure of long memory networks, in the short term

3. proposed model



Figure (3). the framework of the proposed method is shown.



The evaluation or minimization function of the following two factors shows how well a feature vector has competence:

• Average prediction error with neural network

• Number of features selected



The calculation of error index E is as follows:

the population of crows is stored in a matrix:

Each crow needs to remember the most optimal position:

In the crow learning algorithm, there are two phases of horizontal and vertical learning. Vertical learning from parents is horizontal learning from brothers and sisters.

It is used to select a sister or vector randomly.

6 k= 3+[rand×(i-3)] & i≥3

In the crow's learning algorithm, the probability of receiving a reward for crows is equal to Rpprob.



lf is the value of the learning factor in crows.



Amount of reward for crows:



Reinforcement of learning for parents is used in the Crow algorithm as follows.



It is used to search for food with the stealing mechanism as follows:



4-Implementation and analysis

4-1-Implementation parameters



Table (1): Implementation parameters of the proposed method



Figure 4: LSTM implementation parameters in the proposed method



4-2-Evaluation indices

One of the important indicators for predicting weather conditions is the mean squared error MSE index, and to evaluate the proposed method, you can use the classification and prediction indicators of accuracy, recall and accuracy:



4-3- Analysis of the proposed method

In the diagram of figure (5), the prediction error in the feature selection phase in combination with the neural network is shown, and in figure (6), the output of LSTM deep learning in weather forecasting is depicted.



Figure 5: Reduction of prediction error in feature selection phase with 10 iterations

Figure 6: Reducing the prediction error in the classification phase with LSTM



Table 2: Average prediction indices of the proposed method



Figure 7: Comparison of the MSE error of the proposed method with prediction methods

Figure 8: Comparison of the accuracy of the proposed method with prediction methods

Figure 9: Comparison of recall of the proposed method with prediction methods

Figure 10: Comparing the precision of the proposed method with prediction methods

Figure 11: Comparison of the accuracy index of the proposed method in weather forecasting



5. Conclusion

LSTM network is a deep learning method that can be used to predict weather conditions. In the proposed method to increase the prediction accuracy of LSTM neural network, intelligent feature selection is used using a combination of crow learning algorithm and crow search. Experiments showed that the proposed method has an accuracy of 96.92%, a sensitivity of 95.82%, and an accuracy of 96.34%, and it is more accurate for predicting weather conditions than multilayer neural network, recurrent neural network, and LSTM method.



Reference:

[1] Xue, J., & Shen, B. (2020). A novel swarm intelligence optimization approach: sparrow search algorithm. Systems Science & Control Engineering, 8(1), 22-34.

[2] Li, S., Chen, H., Wang, M., Heidari, A. A., & Mirjalili, S. (2020). Slime mould algorithm: A new method for stochastic optimization. Future Generation Computer Systems.

[3] Fu, J., Chu, J., Guo, P., & Chen, Z. (2019). Condition monitoring of wind turbine gearbox bearing based on deep learning model. Ieee Access, 7, 57078-57087.

[4] Sampaio, P. S., Almeida, A. S., & Brites, C. M. (2021). Use of artificial neural network model for rice quality prediction based on grain physical parameters. Foods, 10(12), 3016.

کلیدواژه‌ها English

deep learning
LSTM network
crow learning algorithm
weather forecasting
  1. Karimzadeh Parizi, M., Keynia, F., & Khatibi Bardsiri, A. (2020). Woodpecker Mating Algorithm (WMA): a nature-inspired algorithm for solving optimization problems. International Journal of Nonlinear Analysis and Applications, 11(1), 137-157.
  2. Xue, J., & Shen, B. (2020). A novel swarm intelligence optimization approach: sparrow search algorithm. Systems Science & Control Engineering, 8(1), 22-34.
  3. Dhiman, G., & Kumar, V. (2019). Spotted hyena optimizer for solving complex and non-linear constrained engineering problems. In Harmony search and nature inspired optimization algorithms (pp. 857-867). Springer, Singapore.
  4. Divya, S., Kiran, E. L., Rao, M. S., & Vemulapati, P. (2020). Prediction of Gene Selection Features Using Improved Multi-objective Spotted Hyena Optimization Algorithm. In Data Communication and Networks (pp. 59-67). Springer, Singapore.
  5. Mirjalili, S., Mirjalili, S. M., Saremi, S., & Mirjalili, S. (2020). Whale optimization algorithm: theory, literature review, and application in designing photonic crystal filters. In Nature-Inspired Optimizers (pp. 219-238). Springer, Cham.
  6. Elaziz, M. A., & Mirjalili, S. (2019). A hyper-heuristic for improving the initial population of whale optimization algorithm. Knowledge-Based Systems, 172, 42-63.
  7. Faris, H., Aljarah, I., Al-Betar, M. A., & Mirjalili, S. (2018). Grey wolf optimizer: a review of recent variants and applications. Neural computing and applications, 30(2), 413-435.
  8. Davoodkhani, F., Nowdeh, S. A., Abdelaziz, A. Y., Mansoori, S., Nasri, S., & Alijani, M. (2020). A New Hybrid Method Based on Gray Wolf Optimizer-Crow Search Algorithm for Maximum Power Point Tracking of Photovoltaic Energy System. In Modern Maximum Power Point Tracking Techniques for Photovoltaic Energy Systems (pp. 421-438). Springer, Cham.
  9. Dhiman, G., & Kumar, V. (2018). Emperor penguin optimizer: A bio-inspired algorithm for engineering problems. Knowledge-Based Systems, 159, 20-50.
  10. Wang, Y., & Du, T. (2020). A Multi-objective Improved Squirrel Search Algorithm based on Decomposition with External Population and Adaptive Weight Vectors Adjustment. Physica A: Statistical Mechanics and its Applications, 542, 123526.
  11. Arora, S., & Singh, S. (2019). Butterfly optimization algorithm: a novel approach for global optimization. Soft Computing, 23(3), 715-734.
  12. Heidari, A. A., Mirjalili, S., Faris, H., Aljarah, I., Mafarja, M., & Chen, H. (2019). Harris hawks optimization: Algorithm and applications. Future generation computer systems, 97, 849-872.
  13. Kamboj, V. K., Nandi, A., Bhadoria, A., & Sehgal, S. (2020). An intensify Harris Hawks optimizer for numerical and engineering optimization problems. Applied Soft Computing, 89, 106018.
  14. Shadravan, S., Naji, H. R., & Bardsiri, V. K. (2019). The Sailfish Optimizer: A novel nature-inspired metaheuristic algorithm for solving constrained engineering optimization problems. Engineering Applications of Artificial Intelligence, 80, 20-34.
  15. Li, S., Chen, H., Wang, M., Heidari, A. A., & Mirjalili, S. (2020). Slime mould algorithm: A new method for stochastic optimization. Future Generation Computer Systems.
  16. Jiang, Z., Yang, S., Liu, Z., Xu, Y., Xiong, Y., Qi, S., ... & Xu, T. (2022). Coupling machine learning and weather forecast to predict farmland flood disaster: A case study in Yangtze River basin. Environmental Modelling & Software, 105436.
  17. Gao, Y., Miyata, S., & Akashi, Y. (2022). Multi-step solar irradiation prediction based on weather forecast and generative deep learning model. Renewable Energy, 188, 637-650.
  18. Vuyyuru, V. A., Rao, G. A., & Murthy, Y. V. (2021). A novel weather prediction model using a hybrid mechanism based on MLP and VAE with fire-fly optimization algorithm. Evolutionary Intelligence, 14(2), 1173-1185.
  19. Sharapov, R. V. (2022, May). Using Linear Regression for Weather Prediction. In 2022 Wave Electronics and its Application in Information and Telecommunication Systems (WECONF) (pp. 1-4). IEEE.
  20. Yalçın, S. (2022). Weather parameters forecasting with time series using deep hybrid neural networks. Concurrency and Computation: Practice and Experience, e7141.
  21. Suleman, M. A. R., & Shridevi, S. (2022). Short-term weather Forecasting using Spatial Feature Attention based LSTM model. IEEE Access.
  22. Chandra, R., Jain, A., & Singh Chauhan, D. (2022). Deep learning via LSTM models for COVID-19 infection forecasting in India. PloS one, 17(1), e0262708.
  23. Mehtab, S., & Sen, J. (2022). Analysis and forecasting of financial time series using CNN and LSTM-based deep learning models. In Advances in Distributed Computing and Machine Learning (pp. 405-423). Springer, Singapore.

 

  1. Tukymbekov, D., Saymbetov, A., Nurgaliyev, M., Kuttybay, N., Dosymbetova, G., & Svanbayev, Y. (2021). Intelligent autonomous street lighting system based on weather forecast using LSTM. Energy, 231, 120902.
  2. Fu, J., Chu, J., Guo, P., & Chen, Z. (2019). Condition monitoring of wind turbine gearbox bearing based on deep learning model. Ieee Access, 7, 57078-57087.
  3. Sampaio, P. S., Almeida, A. S., & Brites, C. M. (2021). Use of artificial neural network model for rice quality prediction based on grain physical parameters. Foods, 10(12), 3016.