CFP last date
20 December 2024
Reseach Article

Comparative Analysis of Id3 and Naïve Bayes Algorithm on Stock Market Prediction

by I. S. L. Sarwani, N. Siva Nandhalahari, S. Sobha Sri
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 143 - Number 2
Year of Publication: 2016
Authors: I. S. L. Sarwani, N. Siva Nandhalahari, S. Sobha Sri
10.5120/ijca2016910019

I. S. L. Sarwani, N. Siva Nandhalahari, S. Sobha Sri . Comparative Analysis of Id3 and Naïve Bayes Algorithm on Stock Market Prediction. International Journal of Computer Applications. 143, 2 ( Jun 2016), 21-25. DOI=10.5120/ijca2016910019

@article{ 10.5120/ijca2016910019,
author = { I. S. L. Sarwani, N. Siva Nandhalahari, S. Sobha Sri },
title = { Comparative Analysis of Id3 and Naïve Bayes Algorithm on Stock Market Prediction },
journal = { International Journal of Computer Applications },
issue_date = { Jun 2016 },
volume = { 143 },
number = { 2 },
month = { Jun },
year = { 2016 },
issn = { 0975-8887 },
pages = { 21-25 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume143/number2/25049-2016910019/ },
doi = { 10.5120/ijca2016910019 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-06T23:45:16.318343+05:30
%A I. S. L. Sarwani
%A N. Siva Nandhalahari
%A S. Sobha Sri
%T Comparative Analysis of Id3 and Naïve Bayes Algorithm on Stock Market Prediction
%J International Journal of Computer Applications
%@ 0975-8887
%V 143
%N 2
%P 21-25
%D 2016
%I Foundation of Computer Science (FCS), NY, USA
Abstract

Stock market is a high risk investment influenced by many factors. Stock market prices prediction is not an easy task. With the aid of classification, a data mining technique predicting stock prices considering some factors of influence had been done. This paper put a light on the performance of ID3 and Naïve Bayes algorithms on a given Stock market data. ID3 and Naïve Bayes were classification algorithms which classifies the given data to be classified (test data) basing on the historical data (training data) provided. The historical and test datasets contain attributes which are the factors influencing the stock prices. ID3 algorithm is a Decision Tree technique which constructs a decision tree using the historical data. After decision tree construction, prediction is done for the test dataset values and forecast accuracy is calculated using original value dataset values. Bayesian networks are also used for prediction. The Naïve Bayes algorithm is a Bayesian Network technique used for the Bayesian Network construction using the historical data. The constructed Bayesian Network aids in prediction of the test dataset stock prices and forecast accuracy is calculated using original value dataset values. For computing forecast accuracy root mean square deviation is used. Along with forecast accuracy, under and upper forecasting of the algorithms are also presented. These two algorithms namely ID3 and Naïve Bayes are evaluated on various stock market datasets and the comparison of their performance is provided.

References
  1. Data Mining: Concepts and Techniques, Second Edition by Jiawei Han University of Illinois at Urbana-Champaign Micheline Kamber
  2. Data Mining Tasks(http://www.tutorialspoint.com/data_mining/dm_tasks.htm)
  3. Yahoo finance (https://in.finance.yahoo.com/)
  4. NASDAQ Glossary terms(http://www.nasdaq.com/investing/glossary/)
  5. Decision for Buying and Selling Stock with Decision Tree Algorithm by Nur Aini Rakhmawati, Erma Suryani (http://old.its.ac.id/personal/files/pub/4546-erma-is-ICTSbaru.pdf)
  6. Performance Analysis of Naive Bayes and J48 Classification Algorithm for Data Classification by Tina R. Patil, Mrs. S. S. Sherekar (http://www.researchpublications.org/IJCSA/NCAICN-13/189.pdf)
  7. Measuring Forecast Accuracy: Approaches to Forecasting: A Tutorial(https://scm.ncsu.edu/scm-articles/article/measuring-forecast-accuracy-approaches-to-forecasting-a-tutorial)
  8. Mastering Python for Data Science by Samir Madhavan
  9. Tkinter GUI Application Development HOTSHOT by Bhaskar Chaudhary
Index Terms

Computer Science
Information Sciences

Keywords

Stock Market Decision Trees ID3 algorithm Bayesian networks Naïve Bayes algorithm comparative analysis.