Stock Price Prediction: A Comparative Study Between Traditional Statistical Approach and Machine Learning Approach
Stock Price Prediction: A Comparative Study Between Traditional Statistical Approach and Machine Learning Approach
Introduction
Objectives
Methodologies
Proposed System
Results and Discussions
Conclusion
References
3 Introduction
In (1),
= Predicted closing price for th
day
= Actual closing price at th
day
= Number of days considered for prediction
7 Weighted Moving Average
The difference between SMA and WMA is that a weight is used with the
previous values to predict the future value.
The formula used for WMA-
Here,
= Smoothing
constant
9 Naïve Approach
The last actual value is considered as the predicted value for the next
day.
In (6),
= Predicted closing price for th
day
= Actual closing price at th
day
10 Regression
(Simple Linear, Lasso, Ridge)
Lasso stands for Least Absolute Shrinkage and Selection Operator. Lasso
finds the central point where data values are shrunk.
11 K-Nearest Neighbour
(8)
In (8),
Final prediction
= Decision function of th
decision tree
13 Support Vector Machine
(Support Vector Regression)
Support Vector Regression uses the same principles as the SVM for
classification, with only a few minor differences.
There will be one or more hidden layers present in between one input
layer and one output layer in an MLP model.
(11)
In (11),
yk = Final output
φ = Activation function
θk = Threshold
n = Number of neurons
It introduces memory unit, forget gate and update gate with simple
RNN.
Fig. LSTM
17 Performance Measures
Checking out for missing values and discards those data from the
dataset