Melola Discovery

← Melola Discovery

Open access Jurnal SINTA 2

Perbandingan Algoritma XGBOOST Dan LSTM untuk Memprediksi Harga Bitcoin Berdasarkan Harga Harian, Sentimen, dan Google Trends Index

Jurnal Teknologi Informasi dan Ilmu Komputer (JTIIK) · Vol. 12 No. 6 (2025) · pp. 1271–1280

DOI
10.25126/jtiik.2025126
ISSN
2528-6579, 2355-7699
Published
2025-12-17
Publisher
Fakultas Ilmu Komputer, Universitas Brawijaya
Language
id
License
creativecommons.org/licenses/by-sa/4.0

Abstract

English

Bitcoin merupakan salah satu jenis cryptocurrency yang banyak digunakan karena transaksinya yang aman, cepat, dan berpotensi memberikan keuntungan signifikan. Namun, volatilitas harga yang tinggi membuat aktivitas transaksi berisiko, karena pergerakan harga tidak hanya dipengaruhi oleh faktor internal, tetapi juga faktor eksternal seperti sentimen publik dan Google Trends Index (GTI). Penelitian ini bertujuan membandingkan algoritma XGBoost regression dan LSTM for regression dalam memprediksi harga penutupan bitcoin dengan mengintegrasikan variabel harga harian, sentiment, dan GTI ke dalam model regresi yang disesuaikan dengan karakteristik data penelitian, dimana data yang yang digunakan bersifat non-linear, tidak berdistribusi normal, dan mengandung unsur time series. Berdasarkan hasil pengujian, model XGBoost regression terbaik diperoleh pada skenario dengan variabel eksternal. Namun menghasilkan nilai RMSE sebesar 5169,898 USD dan R2-Score sebesar -13%, yang menunjukkan adanya overfitting dan model kurang tepat untuk data time series. Sebaliknya, model LSTM for regression dengan variabel eksternal dan kombinasi hyperparameter terbaik menunjukkan performa yang lebih unggul dengan RMSE sebesar 1378,55 USD dan R2-Score sebesar 92%. Model ini tidak menunjukkan indikasi overfitting dan mampu mereplikasi pola pergerakan harga secara akurat. Hal ini menunjukkan bahwa LSTM for regression lebih mampu mengenali pola temporal dalam data historis. Selain itu, fitur harga historis, khususnya Open teridentifikasi sebagai variabel paling dominan berdasarkan hasil analisis menggunakan metode SHAP. Abstract Bitcoin is one type of cryptocurrency that is widely used because its transactions are safe, fast, and have the potential to provide significant profits. However, high price volatility makes transaction activities risky, because price movements are not only influenced by internal factors, but also external factors such as public sentiment and the Google Trends Index (GTI). This study aims to compare the XGBoost regression and LSTM for regression algorithms in predicting bitcoin closing prices by integrating daily price, sentiment, and GTI variables into a regression model that is adjusted to the characteristics of the research data, where the data used is non-linear, not normally distributed, and contains time series elements. Based on the test results, the best XGBoost regression model was obtained in the scenario with external variables. However, it produces an RMSE value of 5169.898 USD and an R2-Score of -13%, which indicates overfitting and the model is less appropriate for time series data. In contrast, the LSTM for regression model with external variables and the best combination of hyperparameters shows superior performance with an RMSE of 1378.55 USD and an R2-Score of 92%. This model does not show any indication of overfitting and is able to replicate price movement patterns accurately. This shows that LSTM for regression is better able to recognize temporal patterns in historical data. In addition, historical price features, especially Open, are identified as the most dominant variables based on the results of the analysis using the SHAP method.

Bahasa Indonesia

Bitcoin merupakan salah satu jenis cryptocurrency yang banyak digunakan karena transaksinya yang aman, cepat, dan berpotensi memberikan keuntungan signifikan. Namun, volatilitas harga yang tinggi membuat aktivitas transaksi berisiko, karena pergerakan harga tidak hanya dipengaruhi oleh faktor internal, tetapi juga faktor eksternal seperti sentimen publik dan Google Trends Index (GTI). Penelitian ini bertujuan membandingkan algoritma XGBoost regression dan LSTM for regression dalam memprediksi harga penutupan bitcoin dengan mengintegrasikan variabel harga harian, sentiment, dan GTI ke dalam model regresi yang disesuaikan dengan karakteristik data penelitian, dimana data yang yang digunakan bersifat non-linear, tidak berdistribusi normal, dan mengandung unsur time series. Berdasarkan hasil pengujian, model XGBoost regression terbaik diperoleh pada skenario dengan variabel eksternal. Namun menghasilkan nilai RMSE sebesar 5169,898 USD dan R2-Score sebesar -13%, yang menunjukkan adanya overfitting dan model kurang tepat untuk data time series. Sebaliknya, model LSTM for regression dengan variabel eksternal dan kombinasi hyperparameter terbaik menunjukkan performa yang lebih unggul dengan RMSE sebesar 1378,55 USD dan R2-Score sebesar 92%. Model ini tidak menunjukkan indikasi overfitting dan mampu mereplikasi pola pergerakan harga secara akurat. Hal ini menunjukkan bahwa LSTM for regression lebih mampu mengenali pola temporal dalam data historis. Selain itu, fitur harga historis, khususnya Open teridentifikasi sebagai variabel paling dominan berdasarkan hasil analisis menggunakan metode SHAP. Abstract Bitcoin is one type of cryptocurrency that is widely used because its transactions are safe, fast, and have the potential to provide significant profits. However, high price volatility makes transaction activities risky, because price movements are not only influenced by internal factors, but also external factors such as public sentiment and the Google Trends Index (GTI). This study aims to compare the XGBoost regression and LSTM for regression algorithms in predicting bitcoin closing prices by integrating daily price, sentiment, and GTI variables into a regression model that is adjusted to the characteristics of the research data, where the data used is non-linear, not normally distributed, and contains time series elements. Based on the test results, the best XGBoost regression model was obtained in the scenario with external variables. However, it produces an RMSE value of 5169.898 USD and an R2-Score of -13%, which indicates overfitting and the model is less appropriate for time series data. In contrast, the LSTM for regression model with external variables and the best combination of hyperparameters shows superior performance with an RMSE of 1378.55 USD and an R2-Score of 92%. This model does not show any indication of overfitting and is able to replicate price movement patterns accurately. This shows that LSTM for regression is better able to recognize temporal patterns in historical data. In addition, historical price features, especially Open, are identified as the most dominant variables based on the results of the analysis using the SHAP method.

Keywords

Collaboration network of the authors

10 authors · 17 co-authorship links · 1 across different organisations

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • Institut Teknologi Telkom Purwokerto
  • Universitas Gadjah Mada
  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
Edi WinarkoUniversitas Gadjah Mada1
Nadea Putri Nur FauziAffiliation unknown1
Aditya Dwi Putra WicaksonoAffiliation unknown1
Nadea Putri Nur FauziInstitut Teknologi Telkom Purwokerto1
Aditya Dwi Putra WicaksonoInstitut Teknologi Telkom Purwokerto1
Mohammad Teddy SyamkallaInstitut Teknologi Telkom Purwokerto1
Yohani Setiya Rafika NurInstitut Teknologi Telkom Purwokerto1

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OAI-PMH (metadata jurnal) https://jtiik.ub.ac.id/index.php/jtiik/en/oai, first harvested 27 Okt 2026, last seen 27 Okt 2026.
Original metadata (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="id">Perbandingan Algoritma XGBOOST Dan LSTM untuk Memprediksi Harga Bitcoin Berdasarkan Harga Harian, Sentimen, dan Google Trends Index</dc:title>
	<dc:title xml:lang="en">Perbandingan Algoritma XGBOOST Dan LSTM untuk Memprediksi Harga Bitcoin Berdasarkan Harga Harian, Sentimen, dan Google Trends Index</dc:title>
	<dc:creator xml:lang="en">Zundina Ulya, Fadilla</dc:creator>
	<dc:creator xml:lang="en">Khomsah, Siti</dc:creator>
	<dc:creator xml:lang="en">Annisa Ferani Tanjung, Nia</dc:creator>
	<dc:creator xml:lang="id">Zundina Ulya, Fadilla</dc:creator>
	<dc:creator xml:lang="id">Khomsah, Siti</dc:creator>
	<dc:creator xml:lang="id">Annisa Ferani Tanjung, Nia</dc:creator>
	<dc:subject xml:lang="en">bitcoin price prediction</dc:subject>
	<dc:subject xml:lang="en">sentiment</dc:subject>
	<dc:subject xml:lang="en">google trends index</dc:subject>
	<dc:subject xml:lang="en">LSTM</dc:subject>
	<dc:subject xml:lang="en">XGBoost regression</dc:subject>
	<dc:subject xml:lang="id">prediksi harga bitcoin</dc:subject>
	<dc:subject xml:lang="id">sentimen</dc:subject>
	<dc:subject xml:lang="id">google trends index</dc:subject>
	<dc:subject xml:lang="id">LSTM</dc:subject>
	<dc:subject xml:lang="id">XGBoost regression</dc:subject>
	<dc:description xml:lang="en">Bitcoin merupakan salah satu jenis cryptocurrency yang banyak digunakan karena transaksinya yang aman, cepat, dan berpotensi memberikan keuntungan signifikan. Namun, volatilitas harga yang tinggi membuat aktivitas transaksi berisiko, karena pergerakan harga tidak hanya dipengaruhi oleh faktor internal, tetapi juga faktor eksternal seperti sentimen publik dan Google Trends Index (GTI). Penelitian ini bertujuan membandingkan algoritma XGBoost regression dan LSTM for regression dalam memprediksi harga penutupan bitcoin dengan mengintegrasikan variabel harga harian, sentiment, dan GTI ke dalam model regresi yang disesuaikan dengan karakteristik data penelitian, dimana data yang yang digunakan bersifat non-linear, tidak berdistribusi normal, dan mengandung unsur time series. Berdasarkan hasil pengujian, model XGBoost regression terbaik diperoleh pada skenario dengan variabel eksternal. Namun menghasilkan nilai RMSE sebesar 5169,898 USD dan R2-Score sebesar -13%, yang menunjukkan adanya overfitting dan model kurang tepat untuk data time series. Sebaliknya, model LSTM for regression dengan variabel eksternal dan kombinasi hyperparameter terbaik menunjukkan performa yang lebih unggul dengan RMSE sebesar 1378,55 USD dan R2-Score sebesar 92%. Model ini tidak menunjukkan indikasi overfitting dan mampu mereplikasi pola pergerakan harga secara akurat. Hal ini menunjukkan bahwa LSTM for regression lebih mampu mengenali pola temporal dalam data historis. Selain itu, fitur harga historis, khususnya Open teridentifikasi sebagai variabel paling dominan berdasarkan hasil analisis menggunakan metode SHAP.
 
Abstract
Bitcoin is one type of cryptocurrency that is widely used because its transactions are safe, fast, and have the potential to provide significant profits. However, high price volatility makes transaction activities risky, because price movements are not only influenced by internal factors, but also external factors such as public sentiment and the Google Trends Index (GTI). This study aims to compare the XGBoost regression and LSTM for regression algorithms in predicting bitcoin closing prices by integrating daily price, sentiment, and GTI variables into a regression model that is adjusted to the characteristics of the research data, where the data used is non-linear, not normally distributed, and contains time series elements. Based on the test results, the best XGBoost regression model was obtained in the scenario with external variables. However, it produces an RMSE value of 5169.898 USD and an R2-Score of -13%, which indicates overfitting and the model is less appropriate for time series data. In contrast, the LSTM for regression model with external variables and the best combination of hyperparameters shows superior performance with an RMSE of 1378.55 USD and an R2-Score of 92%. This model does not show any indication of overfitting and is able to replicate price movement patterns accurately. This shows that LSTM for regression is better able to recognize temporal patterns in historical data. In addition, historical price features, especially Open, are identified as the most dominant variables based on the results of the analysis using the SHAP method.</dc:description>
	<dc:description xml:lang="id">Bitcoin merupakan salah satu jenis cryptocurrency yang banyak digunakan karena transaksinya yang aman, cepat, dan berpotensi memberikan keuntungan signifikan. Namun, volatilitas harga yang tinggi membuat aktivitas transaksi berisiko, karena pergerakan harga tidak hanya dipengaruhi oleh faktor internal, tetapi juga faktor eksternal seperti sentimen publik dan Google Trends Index (GTI). Penelitian ini bertujuan membandingkan algoritma XGBoost regression dan LSTM for regression dalam memprediksi harga penutupan bitcoin dengan mengintegrasikan variabel harga harian, sentiment, dan GTI ke dalam model regresi yang disesuaikan dengan karakteristik data penelitian, dimana data yang yang digunakan bersifat non-linear, tidak berdistribusi normal, dan mengandung unsur time series. Berdasarkan hasil pengujian, model XGBoost regression terbaik diperoleh pada skenario dengan variabel eksternal. Namun menghasilkan nilai RMSE sebesar 5169,898 USD dan R2-Score sebesar -13%, yang menunjukkan adanya overfitting dan model kurang tepat untuk data time series. Sebaliknya, model LSTM for regression dengan variabel eksternal dan kombinasi hyperparameter terbaik menunjukkan performa yang lebih unggul dengan RMSE sebesar 1378,55 USD dan R2-Score sebesar 92%. Model ini tidak menunjukkan indikasi overfitting dan mampu mereplikasi pola pergerakan harga secara akurat. Hal ini menunjukkan bahwa LSTM for regression lebih mampu mengenali pola temporal dalam data historis. Selain itu, fitur harga historis, khususnya Open teridentifikasi sebagai variabel paling dominan berdasarkan hasil analisis menggunakan metode SHAP.
 
Abstract
Bitcoin is one type of cryptocurrency that is widely used because its transactions are safe, fast, and have the potential to provide significant profits. However, high price volatility makes transaction activities risky, because price movements are not only influenced by internal factors, but also external factors such as public sentiment and the Google Trends Index (GTI). This study aims to compare the XGBoost regression and LSTM for regression algorithms in predicting bitcoin closing prices by integrating daily price, sentiment, and GTI variables into a regression model that is adjusted to the characteristics of the research data, where the data used is non-linear, not normally distributed, and contains time series elements. Based on the test results, the best XGBoost regression model was obtained in the scenario with external variables. However, it produces an RMSE value of 5169.898 USD and an R2-Score of -13%, which indicates overfitting and the model is less appropriate for time series data. In contrast, the LSTM for regression model with external variables and the best combination of hyperparameters shows superior performance with an RMSE of 1378.55 USD and an R2-Score of 92%. This model does not show any indication of overfitting and is able to replicate price movement patterns accurately. This shows that LSTM for regression is better able to recognize temporal patterns in historical data. In addition, historical price features, especially Open, are identified as the most dominant variables based on the results of the analysis using the SHAP method.</dc:description>
	<dc:publisher xml:lang="en">Fakultas Ilmu Komputer, Universitas Brawijaya</dc:publisher>
	<dc:date>2025-12-17</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://jtiik.ub.ac.id/index.php/jtiik/article/view/9482</dc:identifier>
	<dc:identifier>10.25126/jtiik.2025126</dc:identifier>
	<dc:source xml:lang="id">Jurnal Teknologi Informasi dan Ilmu Komputer; Vol 12 No 6: Desember 2025; 1271-1280</dc:source>
	<dc:source xml:lang="en">Jurnal Teknologi Informasi dan Ilmu Komputer; Vol. 12 No. 6: Desember 2025; 1271-1280</dc:source>
	<dc:source>2528-6579</dc:source>
	<dc:source>2355-7699</dc:source>
	<dc:source>10.25126/jtiik.2025126</dc:source>
	<dc:language>id</dc:language>
	<dc:relation>https://jtiik.ub.ac.id/index.php/jtiik/article/view/9482/1511</dc:relation>
	<dc:rights xml:lang="en">Copyright (c) 2025 Fadilla Zundina Ulya, Siti Khomsah, Nia Annisa Ferani Tanjung</dc:rights>
	<dc:rights xml:lang="en">https://creativecommons.org/licenses/by-sa/4.0</dc:rights>
</oai_dc:dc>