Melola Discovery

← Melola Discovery

Jurnal

Bayesian Optimization for Stock Price Prediction Using LSTM, GRU, Hybrid LSTM-GRU, and Hybrid GRU-LSTM

Unnes Journal of Mathematics · Vol. 13 No. 2 (2025) · hlm. 9–19

DOI
10.15294/ujm.v13i2.11253
ISSN
2460-5859, 2252-6943
Terbit
2025-06-11
Penerbit
Universitas Negeri Semarang
Bahasa
eng

Abstrak

Stocks have high price fluctuations, which include high risks and high potential returns for investors. This high potential return has attracted significant interest from investors. This study proposes the use of Bayesian optimization methods with Gaussian Process (GP), Random Forest (RF), Extra Trees (ET), and Gradient Boosted Regression Trees (GBRT) surrogate models to enhance the accuracy of stock price predictions using Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), and hybrid models (LSTM-GRU and GRU-LSTM). This study tests the effectiveness of various combinations of hyperparameters optimized using the Bayesian optimization method. The model optimized with the Bayesian approach and the GP surrogate model demonstrates superior results compared to the others. Evaluation is conducted using Mean Square Error (MSE), Root Mean Square Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and R-squared (R2) metrics. The results indicate that Bayesian optimization with the GP surrogate model for the GRU-LSTM hybrid model outperforms all other methods in terms of MSE, RMSE, MAE, MAPE, and R2. These findings provide significant contributions to parameter selection for stock price prediction and demonstrate the great potential of using Bayesian optimization methods to improve the accuracy of prediction models.

Kata kunci

Jaringan kolaborasi para penulis

17 penulis · 26 tautan kepenulisan bersama

Arahkan kursor atau ketuk sebuah nama untuk menyorot rekan penulisnya. Klik dua kali untuk membuka halaman penulis.

  • State University of Semarang
  • Afiliasi tidak diketahui
  • Organisasi berbeda
  • Organisasi sama
  • Afiliasi tidak diketahui
  • Garis lebih tebal = lebih banyak artikel bersama · lingkaran lebih besar = lebih banyak artikel
Tampilkan sebagai tabel
Rekan penulisOrganisasiArtikel bersama
Insyiraah Oxaichiko ArissintaState University of Semarang1
Sabrina Aziz AuliaState University of Semarang1
Muhamad Abdul Qodir DaniState University of Semarang1
Galih Kusuma WijayaState University of Semarang1
St. Budi WaluyaAfiliasi tidak diketahui1
MulyonoState University of Semarang1
Noviana Dini RahmawatiState University of Semarang1
Nike Yustina OktavianiState University of Semarang1
Luthfiyah AstutiningtyasState University of Semarang1
Riska Nur FitrianingsihState University of Semarang1
Iwan JunaediState University of Semarang1
Sanianajiba Nugroho PutriState University of Semarang1
Alif Aulia RahmanState University of Semarang1
Hendrik SutrisnoState University of Semarang1
Yeni NurochmahState University of Semarang1

Afiliasi berasal dari OpenAlex; metadata OAI-PMH jurnal tidak memuatnya. Penulis tanpa ID OpenAlex dicocokkan berdasarkan nama, sehingga dua orang bisa tergabung atau satu orang bisa terpisah.

Sumber metadata: OAI-PMH (metadata jurnal) https://journal.unnes.ac.id/journals/ujm/oai, pertama di-harvest 6 Nov 2026, terakhir terlihat 8 Nov 2026.
Metadata asli (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en">Bayesian Optimization for Stock Price Prediction Using LSTM, GRU, Hybrid LSTM-GRU, and Hybrid GRU-LSTM</dc:title>
	<dc:creator xml:lang="en">Utami, Mira Dwi</dc:creator>
	<dc:creator xml:lang="en">Kharisudin, Iqbal</dc:creator>
	<dc:subject xml:lang="en">Bayesian Optimization</dc:subject>
	<dc:subject xml:lang="en">Surrogate Models</dc:subject>
	<dc:subject xml:lang="en">Deep Learning</dc:subject>
	<dc:subject xml:lang="en">Stock Price Prediction</dc:subject>
	<dc:description xml:lang="en">Stocks have high price fluctuations, which include high risks and high potential returns for investors. This high potential return has attracted significant interest from investors. This study proposes the use of Bayesian optimization methods with Gaussian Process (GP), Random Forest (RF), Extra Trees (ET), and Gradient Boosted Regression Trees (GBRT) surrogate models to enhance the accuracy of stock price predictions using Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), and hybrid models (LSTM-GRU and GRU-LSTM). This study tests the effectiveness of various combinations of hyperparameters optimized using the Bayesian optimization method. The model optimized with the Bayesian approach and the GP surrogate model demonstrates superior results compared to the others. Evaluation is conducted using Mean Square Error (MSE), Root Mean Square Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and R-squared (R2) metrics. The results indicate that Bayesian optimization with the GP surrogate model for the GRU-LSTM hybrid model outperforms all other methods in terms of MSE, RMSE, MAE, MAPE, and R2. These findings provide significant contributions to parameter selection for stock price prediction and demonstrate the great potential of using Bayesian optimization methods to improve the accuracy of prediction models.</dc:description>
	<dc:publisher xml:lang="en">Universitas Negeri Semarang</dc:publisher>
	<dc:date>2025-06-11</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:type xml:lang="en">Peer-reviewed Article</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://journal.unnes.ac.id/journals/ujm/article/view/11253</dc:identifier>
	<dc:identifier>10.15294/ujm.v13i2.11253</dc:identifier>
	<dc:source xml:lang="en">Unnes Journal of Mathematics; Vol. 13 No. 2 (2024): Unnes Journal of Mathematics Volume 2, 2024; 9-19</dc:source>
	<dc:source>2460-5859</dc:source>
	<dc:source>2252-6943</dc:source>
	<dc:source>10.15294/ujm.v13i2</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://journal.unnes.ac.id/journals/ujm/article/view/11253/4369</dc:relation>
	<dc:rights xml:lang="en">Copyright (c) 2024 Unnes Journal of Mathematics</dc:rights>
</oai_dc:dc>