Prediksi Tinggi Muka Air Sungai Kapuas Menggunakan Model Patchtst Berbasis Transformer
DOI:
https://doi.org/10.62411/tc.v25i4.17662Abstract
Prediksi tinggi muka air Sungai Kapuas merupakan instrumen krusial dalam sistem mitigasi bencana banjir di Kalimantan Barat. Penelitian ini bertujuan untuk mengimplementasikan dan mengevaluasi performa model PatchTST berbasis Transformer dalam memprediksi tinggi muka air sungai menggunakan time series dengan variabel tunggal (univariate) per jam periode Januari 2021 hingga November 2025. Metodologi penelitian meliputi tahap preprocessing melalui interpolasi linear dan pembagian data secara kronologis menjadi 42.360 jam data latih serta 720 jam data uji. Model dikonfigurasi dengan jendela historis 336 jam untuk memprediksi 720 jam (30 hari) ke depan. Hasil pengujian menunjukkan performa model yang sangat optimal dengan perolehan nilai Root Mean Square Error (RMSE) sebesar 0,17127 dan R-Squared (R2Score) mencapai 0,79816. Hal ini mengindikasikan bahwa model mampu menjelaskan 79,82% pola fluktuasi air sungai dengan tingkat presisi kesalahan rata-rata hanya sebesar 17,1 cm. Uji superioritas menunjukkan PatchTST memberikan peningkatan akurasi sebesar 24,83% dibandingkan model Seasonal Naive. Kesimpulannya, model PatchTST menunjukkan performa yang optimal dan sangat layak diimplementasikan sebagai instrumen pendukung sistem peringatan dini banjir karena kemampuannya dalam menangkap dependensi temporal jangka panjang secara akurat. Kata Kunci - Sungai Kapuas, Tinggi Muka Air, Time Series Forecasting, PatchTST, Transformer.Downloads
Published
Issue
Section
License
Copyright (c) 2026 Devi Ramadania, Sucipto Sucipto, Rachmat Wahid Saleh Insani

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
License Terms
All articles published in Techno.COM Journal are licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0). This means:
1. Attribution
Readers and users are free to:
-
Share – Copy and redistribute the material in any medium or format.
-
Adapt – Remix, transform, and build upon the material.
As long as proper credit is given to the original work by citing the author(s) and the journal.
2. Non-Commercial Use
-
The material cannot be used for commercial purposes.
-
Commercial use includes selling the content, using it in commercial advertising, or integrating it into products/services for profit.
3. Rights of Authors
-
Authors retain copyright and grant Techno.COM Journal the right to publish the article.
-
Authors can distribute their work (e.g., in institutional repositories or personal websites) with proper acknowledgment of the journal.
4. No Additional Restrictions
-
The journal cannot apply legal terms or technological measures that restrict others from using the material in ways allowed by the license.
5. Disclaimer
-
The journal is not responsible for how the published content is used by third parties.
-
The opinions expressed in the articles are solely those of the authors.
For more details, visit the Creative Commons License Page:
? https://creativecommons.org/licenses/by-nc/4.0/









