Timeseries forecasting for Local Average Temperature in Northern Sumatera Using Long Short-Term Memory Model
Keywords:temperature, trends, forecasting, lstm, timeseries
For better management and planning of water resources in a basin, it is important to understand trends and predict average temperature as one of the parameters of weather and climate data. The study of weather trends using normal and local annual average temperature, comparison and observation. In this study, we will analyse the local and normal average temperature data in the city of Medan, based on the observation station in situ. The main objective of this study is to compare the normal temperature with the local station and to predict the temperature data in the city of Medan, North Sumatra by using the long term short term memory model. Based on the result of normal data science of exploring temperature with local temperature correlation, we got the display of training curve, residual plot and the scatter plot are shown using these codes. The good performance of Kualanamu and better than Deliserdang station had MSE value 0.01 and R2 value 0.98, close to zero represents better prediction quality.
B. Choubin, G. Zehtabian, A. Azareh, E. Rafiei-Sardooi, F. Sajedi-Hosseini, and Ö. Kişi, “Precipitation forecasting using classification and regression trees (CART) model: a comparative study of different approaches,” Environ. Earth Sci., vol. 77, no. 8, pp. 1–13, Apr. 2018, doi: 10.1007/s12665-018-7498-z.
F. S.-H. & Ö. K. Bahram Choubin, Gholamreza Zehtabian, Ali Azareh, Elham Rafiei-Sardooi, “Precipitation forecasting using classification and regression trees (CART) model: a comparative study of different approaches | SpringerLink,” https://link.springer.com/article/10.1007/s12665-018-7498-z?shared-article-renderer. https://link.springer.com/article/10.1007/s12665-018-7498-z?shared-article-renderer (accessed Mar. 10, 2021).
Wikepedia, “Effects of climate change - Wikipedia,” https://en.wikipedia.org/wiki/Effects_of_climate_change, 2021. https://en.wikipedia.org/wiki/Effects_of_climate_change (accessed Mar. 10, 2021).
NASA, “Global Warming,” https://earthobservatory.nasa.gov/features/GlobalWarming, 2010. https://earthobservatory.nasa.gov/features/GlobalWarming (accessed Mar. 10, 2021).
S. Afshin, H. Fahmi, A. Alizadeh, H. Sedghi, and F. Kaveh, “Long term rainfall forecasting by integrated artificial neural network-fuzzy logic-wavelet model in karoon basin,” Sci. Res. Essays, vol. 6, no. 6, pp. 1200–1208, 2011, doi: 10.5897/SRE10.448.
M. I. Hutapea, Y. Y. Pratiwi, I. M. Sarkis, I. K. Jaya, and M. Sinambela, “Prediction of relative humidity based on long short-term memory network,” AIP Conf. Proc., vol. 2221, no. March, 2020, doi: 10.1063/5.0003171.
A. G. Salman, Y. Heryadi, E. Abdurahman, and W. Suparta, “Weather forecasting using merged Long Short-Term Memory Model (LSTM) and Autoregressive Integrated Moving Average (ARIMA) Model,” J. Comput. Sci., vol. 14, no. 7, pp. 930–938, 2018, doi: 10.3844/jcssp.2018.930.938.
D. Zhou, X. Zuo, and Z. Zhao, “Constructing a Large-Scale Urban Land Subsidence Prediction Method Based on Neural Network Algorithm from the Perspective of Multiple Factors,” pp. 0–3, 2022.
Stanford, “Understanding LSTM Networks,” https://web.stanford.edu/class/cs379c/archive/2018/class_messages_listing/content/Artificial_Neural_Network_Technology_Tutorials/OlahLSTM-NEURAL-NETWORK-TUTORIAL-15.pdf, pp. 1–13, 2015, [Online]. Available: http://colah.github.io/posts/2015-08-Understanding-LSTMs/.
A. Kumar, “Mean Squared Error or R-Squared, Data Analytics,” https://vitalflux.com/mean-square-error-r-squared-which-one-to-use/, 2020. https://vitalflux.com/mean-square-error-r-squared-which-one-to-use/ (accessed Mar. 10, 2021).