The accuracy of deep learning models in predicting dynamic and non-linear stock market data highly depends on selecting optimal hyperparameters. However, finding optimal hyperparameters can be costly in terms of the model's objective function, as it requires testing all possible combinations of hyperparameter configurations. This research aims to find the optimal hyperparameter configuration for the BiLSTM model using Bayesian Optimization. The study was conducted using three blue-chip stocks from different sectors, namely BBCA, BYAN, and TLKM, with two scenarios of search iterations. The test results show that Bayesian Optimization was able to find the optimal hyperparameter configuration for the BiLSTM model, with the best MAPE values for each stock: BBCA 1.2092%, BYAN 2.0609%, and TLKM 1.2027%. Compared to previous research on Grid Search-BiLSTM, the use of Bayesian Optimization-BiLSTM resulted in lower MAPE values.
                        
                        
                        
                        
                            
                                Copyrights © 2025