Prediksi Tinggi Gelombang Laut di Perairan Semarang – Demak dengan Menggunakan Random Forest dan XGBoost

Ganis Erutjahjo, Aji Supriyanto

Abstract


English Climate change and regional oceanographic activities have contributed to increasing significant wave height (SWH) and sea level rise (SLR) along the northern coast of Central Java (Semarang-Demak). This study aims to analyze and predict SWH and SLR using two artificial intelligence methods: Random Forest (RF) and Extreme Gradient Boosting (XGBoost). The dataset includes meteorological and oceanographic parameters from 2019 to 2024. Model performance was evaluated using accuracy metrics such as RMSE, MAE, MAPE, and the coefficient of determination (R²). The results show that XGBoost outperforms RF in predicting both target variables. XGBoost achieved R² values of 0.9989 for SWH and 0.9921 for SLR, with MAPE scores of 1.6% and 1.1%, respectively. The most influential factor for SWH prediction was the historical significant wave height (hs), while the average daily sea level elevation had the highest impact on SLR prediction. Comparison plots between actual and predicted values indicate that both models effectively captured seasonal trends, particularly in identifying wave peaks in early months and sea level increases during mid-year.The 2025 forecast suggests rising SWH patterns from January to March and peak SLR values around June. These findings are expected to support coastal adaptation policies in response to climate change and to inform the design of more resilient marine infrastructure in the future.


Keywords


Prediction, Random Forest, Sea Level Rise (SLR), Significant Wave Height (SWH), XGBoost

Full Text:

References


A. Supriyanto, E. Zuliarso, E. T. Suharmanto, H. Amalina, and F. Damaryanti, “Drought Prediction Using Lstm Model With Standardized Precipitation Index on the North Coast of Central Java,” Jurnal Teknik Informatika (Jutif), vol. 5, no. 6, pp. 1873–1882, 2024, doi: 10.52436/1.jutif.2024.5.6.4159.

H. L. Gaol, M. Helmi, and A. Satriadi, “Analisis Perubahan Garis Pantai Wilayah Pesisir Menggunakan Metode DSAS (Digital Shoreline Analysis System) Di Pantai Tirang, Tugurejo Kota Semarang,” Indonesian Journal of Oceanography, vol. 7, no. 1, pp. 21–31, 2025, doi: 10.14710/ijoce.v7i1.25459.

I. A. Abdullah, Danardono, and H. Z. Hadibasyir, The Dynamics of Changes in the Coastline of the Sayung Coastal Community in Demak Regency Using Remote Sensing Imagery. Atlantis Press SARL, 2023. doi: 10.2991/978-2-38476-066-4_28.

W. Han et al., “Sea level extremes and compounding marine heatwaves in coastal Indonesia,” Nature Communications, vol. 13, no. 1, pp. 1–12, 2022, doi: 10.1038/s41467-022-34003-3.

R. S. Pontoh et al., “Deep learning approaches to predict sea surface height above geoid in Pekalongan,” International Journal of Data and Network Science, vol. 8, no. 2, pp. 743–752, 2024, doi: 10.5267/j.ijdns.2024.1.004.

W. Setianingsih, B. Sasmito, and N. Bashit, “Analisis Level Rise di Laut Utara Jawa Terhadap Perubahan Garis Pantai Wilayah Demak Pada tahun 2006-2016,” Jurnal Geodesi Undip, vol. 7, no. April, pp. 53–64, 2018.

C. Tay et al., “Sea-level rise from land subsidence in major coastal cities,” Nature Sustainability, vol. 5, no. 12, pp. 1049–1057, 2022, doi: 10.1038/s41893-022-00947-z.

G. Mulyasari, Irham, L. R. Waluyati, and A. Suryantini, “Understanding and adaptation to climate change of fishermen in the northern coastal of Central Java, Indonesia,” IOP Conference Series: Earth and Environmental Science, vol. 724, no. 1, 2021, doi: 10.1088/1755-1315/724/1/012094.

S. Susilo et al., “GNSS land subsidence observations along the northern coastline of Java, Indonesia,” Scientific Data, vol. 10, no. 1, pp. 1–8, 2023, doi: 10.1038/s41597-023-02274-0.

K. Triana and A. J. Wahyudi, “Sea level rise in Indonesia: The drivers and the combined impacts from land subsidence,” ASEAN Journal on Science and Technology for Development, vol. 37, no. 3, pp. 115–121, 2020, doi: 10.29037/AJSTD.627.

C. Murtiaji, M. Irfani, I. Fauzi, A. S. D. Marta, C. I. Sukmana, and D. A. Wulandari, “Methods for addressing tidal floods in coastal cities: An overview,” IOP Conference Series: Earth and Environmental Science, vol. 1224, no. 1, 2023, doi: 10.1088/1755-1315/1224/1/012019.

A. S. Ayinde, Y. Huaming, and W. Kejian, “Review of machine learning methods for sea level change modeling and prediction,” Science of the Total Environment, vol. 954, no. July, p. 176410, 2024, doi: 10.1016/j.scitotenv.2024.176410.

D. Khojasteh et al., “The evolving landscape of sea-level rise science from 1990 to 2021,” Communications Earth and Environment, vol. 4, no. 1, 2023, doi: 10.1038/s43247-023-00920-4.

R. A. Dhiya’ulhaq, A. Safira, I. Fahmiyah, and M. Ghani, “Ocean wave prediction using Long Short-Term Memory (LSTM) and Extreme Gradient Boosting (XGBoost) in Tuban Regency for fisherman safety,” MethodsX, vol. 13, no. July, p. 103031, 2024, doi: 10.1016/j.mex.2024.103031.

A. Musbikhin, E. Sediyono, and C. E. Widodo, “Model Sea Levels Prediction With ARIMA for Coastal Area in Semarang,” Proceedings of the International Conference on Innovation in Science and Technology, vol. 208, no. ICIST 2020, pp. 1–5, 2020.

D. Tarwidi, S. R. Pudjaprasetya, D. Adytia, and M. Apri, “An optimized XGBoost-based machine learning method for predicting wave run-up on a sloping beach,” MethodsX, vol. 10, no. December 2022, p. 102119, 2023, doi: 10.1016/j.mex.2023.102119.

A. Durap, “Data-driven models for significant wave height forecasting: Comparative analysis of machine learning techniques,” Results in Engineering, vol. 24, no. December, p. 103573, 2024, doi: 10.1016/j.rineng.2024.103573.

A. Callens, D. Morichon, S. Abadie, M. Delpey, and B. Liquet, “Using Random forest and Gradient boosting trees to improve wave forecast at a specific location,” Applied Ocean Research, vol. 104, no. July, 2020, doi: 10.1016/j.apor.2020.102339.

M. Azad and M. A. Uddin, “Prediction of Offshore Wave at East Coast of Malaysia—A Comparative Study,” Electronics (Switzerland), vol. 11, no. 16, pp. 1–17, 2022, doi: 10.3390/electronics11162527.

F. Anggraeni, D. Adytia, and A. W. Ramadhan, “Forecasting of Wave Height Time Series Using AdaBoost and XGBoost, Case Study in Pangandaran, Indonesia,” 2021 International Conference on Data Science and Its Applications, ICoDSA 2021, pp. 97–101, 2021, doi: 10.1109/ICoDSA53588.2021.9617524.

T. Kim and W. D. Lee, “Prediction of wave runup on beaches using interpretable machine learning,” Ocean Engineering, vol. 297, no. May 2023, p. 116918, 2024, doi: 10.1016/j.oceaneng.2024.116918.

S. Leng, M. Hao, W. Shao, A. Marino, and X. Jiang, “A Technique for SAR Significant Wave Height Retrieval Using Azimuthal Cut-Off Wavelength Based on Machine Learning,” Remote Sensing, vol. 16, no. 9, pp. 1–17, 2024, doi: 10.3390/rs16091644.

H. Hu and P. Chu, “Predicting Lake Erie Wave Heights using XGBoost,” no. 2015, pp. 1–9, 2019, [Online]. Available: http://arxiv.org/abs/1912.01786

T. Song, Q. Yan, C. Fan, J. Meng, Y. Wu, and J. Zhang, “Significant Wave Height Retrieval Using XGBoost from Polarimetric Gaofen-3 SAR and Feature Importance Analysis,” Remote Sensing, vol. 15, no. 1, 2023, doi: 10.3390/rs15010149.

C. E. Sukmawati, A. R. Pratama, H. Hikmayanti, and A. R. Juwita, “Jurnal Informatika : Jurnal pengembangan IT Optimasi AdaBoost dan XGBoost untuk Klasifikasi Obesitas Menggunakan SMOTE,” vol. 10, no. 3, pp. 771–780, 2025, doi: 10.30591/jpit.v10i3.8536.

S. Fatima, A. Hussain, S. Bin Amir, S. H. Ahmed, and S. M. H. Aslam, “XGBoost and Random Forest Algorithms: An in Depth Analysis,” Pakistan Journal of Scientific Research, vol. 3, no. 1, pp. 26–31, 2023, doi: 10.57041/pjosr.v3i1.946.




DOI: https://doi.org/10.30591/jpit.v10i4.9315

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

JPIT INDEXED BY

  
  

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.