Optimasi Hyperparameter Bidirectional LSTM Menggunakan Particle Swarm Optimization untuk Estimasi Harga Saham PTBA
Abstract
Estimasi harga saham merupakan permasalahan yang kompleks akibat pergerakan harga yang bersifat volatil dan non-linear. Penelitian ini mengimplementasikan model Bidirectional Long Short-Term Memory (BiLSTM) yang dioptimasi menggunakan Particle Swarm Optimization (PSO) untuk melakukan estimasi harga saham PTBA. Data yang digunakan merupakan data historis harian saham PTBA sebanyak 1.199 data dari rentang 5 Mei 2021 hingga 5 Mei 2026 yang diperoleh dari investing.com. PSO digunakan untuk menentukan kombinasi hyperparameter optimal pada model BiLSTM yang meliputi learning rate, hidden units pada dua lapisan, dan dropout rate, dengan menggunakan 20 partikel dan 30 iterasi. Hasil optimasi PSO menghasilkan kombinasi hyperparameter optimal yaitu learning rate sebesar 0,00402, hidden units lapisan pertama sebesar 92, hidden units lapisan kedua sebesar 48, dan dropout rate sebesar 0,14600. Model PSO-BiLSTM yang dilatih menggunakan kombinasi tersebut menghasilkan nilai MAE sebesar 31,7024, RMSE sebesar 50,7833, dan MAPE sebesar 1,1745% pada data uji. Hasil komparasi dengan model Baseline BiLSTM menunjukkan peningkatan akurasi sebesar 33,43% pada MAE, 23,19% pada RMSE, dan 33,96% pada MAPE, membuktikan bahwa optimasi hyperparameter menggunakan PSO mampu meningkatkan kemampuan estimasi model BiLSTM secara signifikan. Kata Kunci - BiLSTM, PSO, Optimasi Hyperparameter, Estimasi Harga Saham, PTBADownloads
Published
Issue
Section
License
Copyright (c) 2026 Pramudya Reksha Kumala, Anggraini Puspita Sari, Afina Lina Nurlailli

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/









