Comparison of Accuracy Between Two Methods: Naїve Bayes Algorithm and Decision Tree-J48 to Predict The Stock Price of Pt Astra International tbk Using Data From Indonesia Stock Exchange

  • Joan Yuliana Hutapea Universitas Advent Indonesia
  • Yusran Timur Samuel Fakultas Teknologi Informasi, Universitas Advent Indonesia
  • Heima Sitorus Universitas Advent Indonesia
Keywords: Predicting Stock Prices, WEKA, Naive Bayes, Decision Tree – J48

Abstract

The ability to predict the stock prices is very important for market players, whether individual or organizational investors. The market players needs to know how to predict, that will help them in their decision making process, whether to buy or to sell its shares, so that it can maximize profits and reduce potential losses due to mistakes in decision making. In accordance to this, the authors conducted a study that aimed to analyze and to compare the accuracy of two (2) methods that is used to predict the stock prices, namely: the Naїve Bayes Method and the Decision Tree-J48 Method. The amount of data used in this study were 1,195 stock datas ofPT Astra International Tbk, issued by the IDX, by the period of January 1, 2013 to November 30, 2017.This study uses 7 attributes, namely: Previews, High, Low, Close, Volume, Value, and Frequency. By using the WEKA application the result shows that, the accuracy of the Naïve Bayes Method using 20% of testing data, is 92.0502%, the precision value is 0.920 and the value of recall is 0.961, while the accuracy of the Decision Tree J-48 method, using 20% of testing data, is 98.7448%, with precision value of 0.989 and the value of recall of0.997.Through this results, it can be concluded that the decision tree J-48 algorithm has a better accuracy results compared to the Naive Bayes algorithm in predicting the stock price of PT. Astra Internasional Tbk.
Article Metrics

Downloads

Download data is not yet available.

References

Supranto. J, “Pasar Modal Indonesia. Rineka Cipta. Jakarta,” Pasar Modal Indones., 1992.

D. S. Riswantoro, “Abstrak Penerapan Data Mining Untuk Memprediksikan Fluktuasi Harga

Saham Menggunakan Metode Classification Dengan Teknik Dt ( Decision Tree ),” pp.

–5, 2011.

M. Ridwan, H. Suyono, and M. Sarosa, “Penerapan Data Mining Untuk Evaluasi Kinerja

Akademik Mahasiswa Menggunakan Algoritma Naive Bayes Classifier,” Eeccis, vol. 7,

no. 1, pp. 59–64, 2013.

Retno Tri Wulandari, Data Mining Teori dan Aplikasi Rapidminer, Gava Media, 2017

Sigit Adinugroho,Yuita Arum Sari, Implementsi Data Mining Menggunakan WEKA,UB

Press, 2018

S. Fitri, “Perbandingan Kinerja Algoritma Klasifikasi Naïve Bayesian , Lazy-Ibk , Zero-R ,

Dan Decision Tree- J48,” Dasi, vol. 15, no. 1, pp. 33–37, 2014.

D. Purnamasari, J. Henharta, Y. P. Sasmita, F. Ihsani, and I. W. S. Wicaksana, “Get Easy Using

WEKA,” 2013.

Published
2019-12-18
How to Cite
Hutapea, J., Samuel, Y., & Sitorus, H. (2019). Comparison of Accuracy Between Two Methods: Naїve Bayes Algorithm and Decision Tree-J48 to Predict The Stock Price of Pt Astra International tbk Using Data From Indonesia Stock Exchange. Abstract Proceedings International Scholars Conference, 7(1), 1244-1258. https://doi.org/10.35974/isc.v7i1.1872

Most read articles by the same author(s)