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
AbstractThe 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.
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.
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
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
Copyright (c) 2019 Abstract Proceedings International Scholars Conference
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Copyright © 2019 ISC Committee.