MVPJES DecisionSupportSystemforInvestmentinStockMarketusingOAA-SVM
MVPJES DecisionSupportSystemforInvestmentinStockMarketusingOAA-SVM
Abstract
The investment in stock market could be high-risk. Because of the movement of a stock price depends on several factors,
such as currency exchange rate, economics situation, and flow of funds. In stock market, depending on a stock selection and
a suitable time on trading successful investors can earn maximum profits. Because of the financial crisis and scoring profits,
it is mandatory to have a secure prediction of the values of the stocks. Generally, investors use two Statistical techniques for
making a decision, which are the fundamental analysis and the technical analysis and many no of machine learning models
have been investigated for stock prediction such as Genetic Algorithm (GA), Support Vector Machine (SVM) and Neural
Network (NN). In proposed system, we will use the binary tree SVM algorithm which is one of the mainstream algorithms
for multi-class classification in the fields of pattern recognition and machine learning. In order to reduce the training and
testing time of system, One-Against-All SVM (OAA-SVM) algorithms will be proposed for multi-class classification.
the correct predicted values and graph or chart which will OAA-Neural Network for classifying the stock data into
be prediction of stock of specific company and helping 3 different classes such as, buying data, selling data and
Investors for making decision. We are using ML tech- holding data. But there are several limitations that, train-
nique because it will automatically predict the results that ing time required for neural network are more, it required
company shares are good to buy/sell or not. So that cus- large memory to store the data and neural network not
tomer will get basic idea related to company’s stock value. suitable for large dataset3.
Customer will see prediction and will decide to invest his Binoy B. Nair, N. Mohana Dharini, V.P. Mohandas
money into specific company. proposed a system “Hybrid Decision tree and Neuro-
Fuzzy” which has Large searching time and large memory
required6.
2. Related Work QIU Mingyue, LI Cheng, SONG Yu proposed a sys-
In day to day life many peoples make invest in stocks, tem “Hybrid Genetic Algorithm and Artificial Neural
but some people have not get sufficient knowledge about Network” which has high convergence rate4.
stock due to which people have lost their money in stocks. To overcame the drawbacks of all above system we will
There are many myths related about investing in stock. use the technique OAA-SVM invented by Xiaowei Yang,
To give people sufficient knowledge and analysis of stock Qiaozhen Yu, Lifang He, Teng Jiao Guo, their proposed
many researchers had contributed their knowledge and a system “The one-against-all partition based binary tree
came up with the solution. support vector machine algorithms for multi-class clas-
Radu Iacomin, proposed a system “Stock Market sification” will be useful for classifying various dataset2.
Prediction” which will use various machine learning We will use this technique in to develop our system which
algorithm such as Support Vector Machine with feature will classify data in 3 classes such as, buying data, sell-
selection algorithm but this technique will be suitable for ing data and holding data. As we will combine Support
only single class classification1. Vector Machine with One-Against-All multiclass classifi-
Sabaithip Boonpeng, Piyasak Jeatrakul proposed a cation algorithm it will give an optimal solution with less
system “Decision Support System for Investing in Stock training and testing time and requires less space to store
Market by using OAA-Neural Network” which will use the data. It is summarized in the Table 1.
4. Mathematical Model
Let S be a system such that, S= {I, F, O}
Where I = Set of Inputs.
I = {I1, I2}
I1 = Historical data from NSE India.
I2 = Personalized data set.
Where F = set of functions.
F = {F1, F2, F3, F4, F5}
F1 = Function for Extraction of Real Time data
F2 = Function for Data Normalization
F3 = Function for Data Analysis
F4 = Function for Training and Testing System
Figure 1. Architecture of proposed system. F5 = Function for Decision Making
Where O = set of outputs, O = {O1, O2, O3}
The proposed system will be divided into several inde- O1 = Prediction of stock Exchange
pendent modules: O2 = Graphical representation i.e. Pie Charts
2
|| w || = Eucledian norm of "W " (5.2.5)
|| w ||
Figure 3. Support Vector Machine.
ii. One Against All – Support Vector Machine
Mathematical Equations (OAA-SVM)
OAA-SVM algorithm is useful to divide the dataset into
• For 2D dataset let, ‘n’ no of classes. This algorithm overcomes the drawback
of SVM, which only suitable to divide data into 2 classes.
D is the dataset containing {xi, yi} no of tuples where,
OAO-SVM needs to construct C(C-1)/2 SVM models
xi = Set of attributes/tuples where each one is trained on data points from two classes.
yi = Set of classes For the training data points from the ith class and the jth
As, dataset is 2D, yi = +1/–1 class, we need to solve the following binary classification
• Equation of hyperplane: problem2.
w.x + b = 0 Where,(5.2.1)
7. References
ij
(wij)T Φ( Xt ) + bij ≥ 1 + ∑Yt =i (5.2.8) 1. RaduIacomin. Stock Market Prediction. Romani:
t
Faculty of Automatic Control and Computers University
POLITEHNICA of Bucharest.
Where,
2. Xiaowei Yang, Qiaozhen Yu, Lifang He, Teng Jiao Guo.
ij
The one-against-all partition based binary tree support
∑Yt ≥ 0, t =
t
1………l
vector machine algorithms for multi-class classification.
Guangzhou 510641, PR China: School of Computer Science
and Engineering, South China University of Technology.
3. Sabaithip Boonpeng and Piyasak Jeatrakul. Decision
6. Conclusion Support System for Investing in Stock Market by using
Our proposed system Decision Support System for OAA-Neural Network. Chiang Rai: School of Information
Technology Mae Fah Luang University Muang.
Investing in Stock Market Using OAA-SVM, and we are
4. Qiu Mingyue, Li Cheng, Song Yu. Application of the
using ML technique because it will automatically pre-
Artificial Neural Network in predicting the direction of
dict the results that company shares are good to buy/sell stock market index. Fukuoka, Japan: Department of System
or not. We are going to develop system for investors as Management, Fukuoka Institute of Technology.
the successful prediction of a stock’s future price could 5. Guobin Ou, Yi Lu Murphey. Multi-class pattern classifica-
yield significant profit. The market hypothesis suggests tion using neural networks. Dearborn, USA: Department
that stock prices reflect all currently available informa- of Electrical and Computer Engineering, The University of
tion and any price changes that are not based on newly Michigan-Dearborn.
revealed information thus are inherently unpredictable. 6. Binoy B Nair, Mohana Dharini N, Mohandas VP. A Stock
A model has been used in predicting the direction of the market trend prediction system using a hybrid decision
movement of the closing value of the index. The model tree-neuro-fuzzy system. Coimbatore - 641105, Tamilnadu,
can be used to predict price index value of the stock India: Department of Electronics and Communication
Engineering, Amrita School of Engineering, Amrita Vishwa
market and it used the preprocessed data set of closing
Vidyapeetham.
value of NSE and BSE India. So that customer will get
7. Dan Pilone, Neil Pitan. UML 2.0 IN A NUTSHELL A
basic idea related to company’s stock value. Customer
Desktop Quick Reference.
will see prediction and will decide to invest his money 8. Jiawei Han, Micheline Kamber, Jian Pie. Data Mining
into specific company. Concepts and Techniques.