[Paper Review] How do the naive Bayes classifier and the Support Vector Machine compare in their ability to forecast the Stock Exchange of Thailand?
This study compares the naive Bayes classifier and support vector machine (SVM) for forecasting the Stock Exchange of Thailand (SET) using January 2010 data. Trained on SET100 index features via Weka 3, the naive Bayes model outperformed SVM in prediction accuracy, though both models showed limited overall forecasting capability due to market complexity.
This essay investigates the question of how the naive Bayes classifier and the support vector machine compare in their ability to forecast the Stock Exchange of Thailand. The theory behind the SVM and the naive Bayes classifier is explored. The algorithms are trained using data from the month of January 2010, extracted from the MarketWatch.com website. Input features are selected based on previous studies of the SET100 Index. The Weka 3 software is used to create models from the labeled training data. Mean squared error and proportion of correctly classified instances, and a number of other error measurements are the used to compare the two algorithms. This essay shows that these two algorithms are currently not advanced enough to accurately model the stock exchange. Nevertheless, the naive Bayes is better than the support vector machine at predicting the Stock Exchange of Thailand.
Motivation & Objective
- To evaluate and compare the predictive performance of naive Bayes and support vector machine classifiers on the Stock Exchange of Thailand.
- To assess whether these machine learning models can effectively forecast stock market movements given real-world financial data.
- To identify which algorithm yields better classification accuracy and lower error rates in the context of emerging market stock indices.
- To examine the limitations of traditional machine learning models in capturing the nonlinear dynamics of stock market behavior.
Proposed method
- Data from the SET100 Index for January 2010 was collected from the specified website.
- Input features were selected based on prior research on SET100 index behavior.
- Models were trained using the Weka 3 machine learning platform with labeled training data.
- Performance was evaluated using mean squared error, proportion of correctly classified instances, and other standard error metrics.
- The naive Bayes and SVM algorithms were implemented and compared under identical data and evaluation conditions.
- Statistical comparisons were conducted to determine relative model effectiveness in forecasting directionality of market movements.
Experimental results
Research questions
- RQ1How do the naive Bayes classifier and support vector machine perform in predicting daily direction of the Stock Exchange of Thailand?
- RQ2Which model achieves higher classification accuracy and lower error rates in forecasting SET movements?
- RQ3To what extent can these machine learning models capture the complexity of stock market dynamics in an emerging market like Thailand?
- RQ4Are there systematic differences in model performance based on error measurement criteria such as mean squared error or classification accuracy?
Key findings
- The naive Bayes classifier demonstrated superior performance compared to the support vector machine in forecasting the direction of the Stock Exchange of Thailand.
- Both models exhibited limited overall forecasting accuracy, indicating that current implementations are insufficient for reliable market prediction.
- The proportion of correctly classified instances was higher for the naive Bayes model, suggesting better predictive stability.
- Mean squared error values were lower for the naive Bayes classifier, reinforcing its stronger performance on the dataset.
- Despite their theoretical strengths, neither algorithm achieved robust predictive capability on the SET data.
- The study concludes that further model refinement or alternative approaches are necessary for effective stock market forecasting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.