Claim Missing Document
Check
Articles

Found 1 Documents
Search
Journal : International Journal Of Computer, Network Security and Information System (IJCONSIST)

Stock Price Prediction Using Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) Methods Riza Akhsani Setyo Prayoga; Ariansyah, Fery Almas; Daffa, Muhammad Falikhuddin; Laqma Dica Fitrani; Masti Fatchiyah Maharani; Angga Lisdiyanto; Angkawidjaja , Steven
IJCONSIST JOURNALS Vol 7 No 1 (2025): September
Publisher : International Journal of Computer, Network Security and Information System

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.33005/ijconsist.v7i1.158

Abstract

This research aims to improve the accuracy of stock price prediction through the application of Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) methods, focusing on stocks from the Composite Stock Price Index (CSPI) referred to as the IDX Composite. The research process includes comprehensive steps, including data collection and preprocessing, dataset creation with emphasis on stock closing prices, and division of the dataset into training and test data. The LSTM and GRU models were designed with a recurrent layer and a Dense layer and then trained for 100 epochs with a batch size of 32. Model evaluation was performed by comparing key metrics such as Root Mean Squared Error (RMSE), Mean Squared Error (MSE), and Mean Absolute Error (MAE) on the test set. The EPOCH-RMSE graph provides an overview of the changes in the RMSE value during training. The best result of the LSTM model was achieved at the 96th epoch with RMSE 40.36, MSE 1385.97, and MAE 30.09, while GRU achieved peak performance at the 92nd epoch with RMSE 37.33, MSE 908.29, and MAE 25.42. In conclusion, GRU can be considered as a more effective option in predicting JCI stock prices based on performance evaluation using various metrics such as RMSE, MSE, and MAE.
Co-Authors Achmad Muzakki Adinda Ayu Shavira Adzanil Rachmadhi Putra Adzanil Rachmadi Putra Ahmad Wali Satria Bahari Johan Akbar, Muhammad Sonhaji Angga Lisdiyanto Angkawidjaja , Steven Anjas Ardiansyah, Muhammad Ardhini Warih Utami, Ardhini Warih Ariansyah, Fery Almas Aris Kusumawati Aris Kusumawati Asep Syahrul Mubarok Asep Syahrul Mubarok Azhar, Astari Shofaatul A’la, Fiddin Yusfida Bagaskara, Dominggo Bayu BAMBANG SUJATMIKO Cinthya, Monica Daffa, Muhammad Falikhuddin Dahliar Ananda Devandro Alifiano Dewi Rahmawati Dwi Ardhani, Yuniar Dwi Hariyanto, Muhammad Dwi, I Kadek Elfaiz, Ersha Aisyah Ersha Aisyah Elfaiz Fajrul Fallah Arrafi Fandisya Rahman Fauzan Nusyura Fauzan Nusyura Fitrani, Laqma Dica Hermawan, Birgita Yolanda Ichsan Khoirudin, Machfud Istiyanto, Noerma Pudji Jenny Ghifrina Laqma Dica Fitrani Larasati, Fannijara Enggar M. Ghouzul A’dhom Machfud Ichsan Khoirudin Machfud Ichsan Khoirudin Masti Fatchiyah Maharani Mastuty Ayu Ningtyas Moh, Andi Luthfi Mohammad Sholik Mohammad Wildan Habibi, Mohammad Wildan Monica Cinthya Mubarok, Asep Syahrul Muhammad Anjas Ardiansyah Muhammad Farhan Abdillah Sholeh Muhammad Ilham Alhari Muhammad Nasrullah Muhammad Rashid Syaputra Muhammad Sonhaji Akbar Muhammad Taufikurrahaman Mustafa Kamal Mustafa Kamal Nicko Nur Rakhmaddian Nicko Nur Rakhmaddian, Nicko Nur Nisa Dwi Septiyanti Nugraha, Bintang Rassya Pertiwi, Kharisma Monika Dian Pratiwi Susanti Putra, Cendra Devayana Rashid Syaputra, Muhammad Raulia Riski Rizky Basatha Rizky Basatha Rizky Fenaldo Maulana Rosyid Abdilah Sekar Widyasari Putri Setiawan, Muhammad Iqbal Hafish Shanaya Lubna Dio Suseno, Tarangga Atha Putra Tanzilal Mustaqim Titus Kristanto Tracy Olivia Vagnes Angela Wachda Yuniar Rochmah Wahyuddin S Wardah, Elvira Yayu Melani Safitri Karoho Yohanes Setiawan Yohanes Setiawan Zulatifa, Nelani Shafatia