SlideShare a Scribd company logo
1 of 7
Download to read offline
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
ยฉ 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 2152
Stock Price Prediction using Machine Learning Algorithms: ARIMA,
LSTM & Linear Regression
Krushali Sohil Patel1, Udit Rajesh Prahladka1, Jaykumar Babulal Patel1, Yogita Shelar2
1Dept. of Information Technology, Atharva College of Engineering, Maharashtra, India
2Assistant Professor, Dept. of Information Technology, Atharva College of Engineering, Maharashtra, India
---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract - This paper aims to promote the use of the
ARIMA, LSTM & Linear Regression algorithm to predict
stock prices of NASDAQ (American) and NSE (Indian) and to
compare their accuracy. These are machine learning
algorithms used for historical stock 2 years ago and real-
time stock prices. The NASDAQ stock data was downloaded
from the Yahoo Finance API and that the NSE stock was
downloaded from the Alpha Vantage API. The full source
code of the project was written via Python. It is thought that
the ARIMA and LSTM models are more compatible than the
Linear Regression model for the NASDAQ (American
Company) forecasting model. Although, in the NSE (Indian
Company) stocks, LSTM and Linear Regression appear to be
more efficient than ARIMA.
Key Words: Machine Learning, ARIMA, LSTM, Linear
Regression, Stock Market, Prediction, Stock Exchange,
Trading, Time Series, Historical Data, Python
1. INTRODUCTION
Stock prices fluctuate greatly naturally. They vary based
on various factors such as previous prices, current market
scenario, financial matters, competing companies etc. It is
important to have an accurate forecast of future trends in
stock prices with wise investment decisions [1] [2].
However, the volatile nature of stock prices makes it
difficult to measure accurately. Stock Market Prediction is
an attempt to determine the future value of a company's
stock [3]. NASDAQ stock stock prices were downloaded
from the Yahoo Finance API and those of the NSE stock
were downloaded from the Alpha Vantage API. This data
was previous processed and transferred to Machine
Learning models. Finally, the results for each model are
shown.
2. LITERATURE REVIEW
A. Machine learning strategies and application information
for Stock Market forecasting information
Paul D. Yoo, Maria H. Kim and Tony Jan compared and
examined some of the existing ML strategies used to
predict the stock market. After comparing easy retreats,
multivariate retreats, Neural Networks, Vector Support
Machines and Case Based Reasoning models concluded
that Neural Networks provides the ability to predict
market directions more accurately compared to other
strategies. Vector Support Machines and Case Based
Consultations are also popular in stock market
predictions. In addition, they found that capturing event
information on a predictive model plays a very important
role in more accurate forecasting. The web provides up-to-
date and up-to-date information about the stock market
needed to deliver the highest accuracy of predictions and
short-term forecasts [1].
B. Predicting Stock Stocks Using Financial News Articles
M.I. Yasef Kaya and M. Elef Karshgil analyzed the
relationship between the content of financial news articles
and stock prices. Labeled news articles are positive or
negative depending on their impact on the stock market.
Instead of using one word as attributes, they use the
names of pairs as attributes. The word couple included a
combination of noun and verb. The SVM classifier was
trained with labeled articles to predict stock prices. [2].
C. Predicting Market Market Indicators Through the
Emotional Network
Drs. Jay Joshi, Nisarg A Joshi in his career, used the neural
artificial network (ANN) to predict stock prices in the
respected Bombay Stock Exchange (BSE) Sensitive Index
(Sensex) indexes. They performed experiments and case
studies to compare neural network functionality with
random mobility and direct autoregressive models. They
reported that the neural network exceeds the direct and
indirect travel models by all performance measurements
in both sample and out-of-sample predictions for BSE
Sensex daily return.[3]
D. Stock price forecast using the ARIMA model
Ayodele A. Adebiyi, Aderemi O. Adewumi and Charles K.
Ayo used the ARIMA model to predict stock prices on data
obtained from the New York Stock Exchange (NYSE) and
the Nigeria Stock Exchange (NSE). They used a data set
that included four components: open, low, near and high
price. In their work, they have taken the amount of closure
as a predictive factor. The reason for this is that the closing
price is the most appropriate price at the end of the day.
Show them that there is no correlation between
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
ยฉ 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 2153
autocorrelation function (ACFs) and component
autocorrelation function (PACFs) using Q statistics and
integration sites. In addition, in static data, it is stabilized
with the help of various techniques. It was concluded near
the end of the study that the ARIMA model was very useful
for short-term prediction [4].
3. METHODOLOGY
Fig-1: System Design
A. Auto Regressive Integrated Moving Average (ARIMA)
ARIMA Complete Form Auto Regressive Integrated Moving
Average. There are two types of ARIMA models that can be
used in prediction: ARIMA seasonal and non-seasonal
ARIMA. In our case, the off-season ARIMA model was used
due to the nature of the stock data. ARIMA is actually an
example of models based on its past values, so that this
relationship can be used to predict future values. The
ARIMA model takes three main parameters, described as
follows:
p = Number of times left. For example, if p = 4, we use the
last four times of our data in the default calculation. p
enables us to adjust the appropriate timeline line.
d = At ARIMA, we equate and convert the related time
series into a standard time series by dividing. We use d to
determine the number of different numbers.
q = q is used to indicate a feature error. Part of the error is
part of the unforgivable historical data for the general
price range
Autoregressive component: The independent AR model
relies on a combination of historical values. This
dependence is so great that it is seen in the reversal of the
old line that the number of parts of the Auto Regressive
has a direct dependence on the calculation of previous
times.
We use the Auto Regressive component if:
1) ACF graphs show the slope descending toward zero
2) The advantages of lag-1 are expressed in the ACF
framework of the timeline
3) The PACF numerical graph suddenly drops to zero
Moving Rates: Moving ratings are random jumps to data
that lead to more than two possible or non-sequential
events. These hops are used to clarify the calculated error
and to explain what part of the MA is left behind. The MA
model completely can justify and clarify this defect similar
to the descriptive slider method. We use the Moving
Averages component if:
a) Significant decrease in ACF is observed after just a few
delays
b) The model shows a negative Lag
c) The slope usually decreases downwards in the PACF
Combined component: Combined component is only
started when real-time or historical series data is static or
seasonal. The number of times that a series of time needs
to be divided and calculated to make it a static type of the
common component term.
Fig-2: ARIMA model [5]
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
ยฉ 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 2154
B. Long Short Term Memory (LSTM)
The Long Short-Term Memory network is a RNN that is
trained using Backpropagation. It takes care of the
disappearing gradient problem encountered earlier. LSTM
networks have their own memory and so they prove to be
efficient in creating large RNNs and handle time specific
scheduling problems. The memory blocks in LSTM
network are connected through recurrent layers rather
than having neurons.
A block has many basic and a few complex components
that make it smarter as compared to the standard neuron.
It consists of many gates that coordinate relative input
functions with output functions. Whenever a block
receives an input, a gate is triggered which takes decision
about whether or no to pass the block forward for further
processing.
The standard LSTM block, in its simplest form, consists of
an input gate, an output gate, a cell and a forget gate.
1) Cell: It is used to remember the values over arbitrary
time intervals.
2) Input Gate: It decides which information to keep in the
cell.
3) Output Gate: It is used to decide which part of cell state
should be given as an output.
4) Forget Gate: It is used to decide which information to
throw away from the cell.
Fig-3: LSTM model [6]
C. Line Decline
In the Line Redistribution model, the calculation line
calculation is used to combine a set of input data values (x)
into a predicted output data set of input values (y). Both
the input and output variables and values are considered
integers. The unique number given by the Line Rotation
equation is represented using the Greek capital letter Beta
(B) and is commonly known as a coefficient. In addition to
this, another coefficient is added to give the line additional
degrees of freedom. This additional term is often referred
to as the bias coefficient. Typically, the bias coefficient is
calculated or otherwise measured by finding the distance
of our mathematical points from the most relevant line.
This can be displayed as a straight line at right angles to
the vertex and calculated using the line bias. Statistically, a
line tangent is used to measure its proximity to the
relative linear Regression.
A problem model model in Linear Regression will be
provided as follows:
y = B0 + Bt * xt + Et
This same line is also called a plane or plane when we are
dealing with more than one input. This is often the case
with high-volume data. The Linear Regression model is
therefore represented by the mathematical and
introverted values measured by the specific coefficients.
However, before using this line number, we are faced with
a number of issues. These issues often increase the
complexity of the model which makes accurate estimates
difficult. This complexity is often discussed in terms of the
number of dependent and independent factors.
The effect of input variables on the model is effectively
disrupted when a certain coefficient becomes zero.
Therefore, due to the empty values, the accuracy is
reduced in the estimates made from the model (0 * x = 0).
When we analyze adaptive techniques that can change the
learning algorithm to reduce the complexity of models by
emphasizing the importance of the perfect coefficient,
which drives some to zero, this exact position is important.
Fig-4: Linear Regression [7]
Twitter Sentiment Analysis-
Social media data has high impact today than ever, it can
aid in predicting the trend of the stock market. The
method involves collecting news and social media data
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
ยฉ 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 2155
and extracting sentiments expressed by individual. Then
the correlation between the sentiments and the stock
values is analyzed. The learned model can then be used to
make future predictions about stock values
Fig-5: general plot that illustrates how social media and
financial news affect stock market trend
4. DATA-SET AND RESOURCES
Data Analysis Stage:
Dataset:
Yahoo finance provides an easy way to fetch any historical
stock values of a company with the help of the ticker-name
programmatically using in-built API's. It provides a feature
to get prices with initial-date and final date provided.
The first step in building a machine learning model is to
obtain an optimal dataset.
The open soured data which is available on the internet
consists of many discrepancies like having missing data,
having repeated rows of the same data, data being
unstructured etc.
Before feeding the data to the machine learning model, the
data needs to be modified of preprocessed so that the
model is able to deliver the results which are as accurate
as possible.
The main attributes that are found in financial datasets
(historical data about stock prices of a particular
company) are as follows:
1. Date of that particular stock price
2. Opening stock price
3. High stock price (highest value of that stock during that
day)
4. Low stock price (lowest value of that stock price during
that day)
5. Closing stock price
6. Volume of stocks traded
Of all these above parameters, the closing price is
predominantly used as an attribute to feed the model.
Using this single value, the future stock price of a company
can be predicted using various regression models
available in machine learning.
In regression, according to the input given, a curve is
plotted in a graph. The curve represents the variations in
the stock prices over the years. Here, the X-axis will
contain the date of the stock and the Y-axis will contain the
closing price of a stock.
Training and Testing Stage
1.Shifted values of the label attribute by the percentage
you want to predict.
2.Dataframe format is converted to Numpy array format.
3.All NaN data values removed before feeding it to the
classifier.
4.The data is scaled such that for any value X.
5.The data is split into test data and train data respective
to its type i.e. label and feature.
Results
5. RESULTS AND ANALYSIS
A. Downloading and Viewing NASDAQ Data
NASDAQ (American Company) stock data for the past 2
years and real-time prices are downloaded from the Yahoo
Finance API and displayed via python.
Fig 5.1 Historic Stock Data for NASDAQ (AAPL) stock
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
ยฉ 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 2156
Fig 5.2 Real Time Stock Data for NASDAQ (AAPL) stock
B. ARIMA stock forecast NASDAQ
The ARIMA model was used in test set data (20% of all
data). The predicted values are compared to real values
and the results are reflected in python.
Fig 5.3: ARIMA forecast for NASDAQ (AAPL) stock
Fig 5.4: ARIMA prediction and Root Mean Squared Error
(RMSE) for NASDAQ (AAPL) stock
C. LSTM stock forecast NASDAQ
The LSTM model was used for test set data (20% of all
data). The predicted values are compared to real values
and the results are reflected in python
Fig 5.5: LSTM forecast for NASDAQ (AAPL) stock
Fig 5.6: LSTM prediction and Root Mean Squared Error
(RMSE) for NASDAQ (AAPL) stock
D. Linear Regression stock forecast for NASDAQ
Lineback Model was used for test set data (20% of all
data). The predicted values are compared to real values
and the results are reflected in python
Fig 5.7: Linear Regression forecast for NASDAQ (AAPL)
stock
Fig 5.8: Linear Regression prediction and Root Mean
Squared Error (RMSE) for NASDAQ (AAPL) stock
E. Downloading and Viewing of NSE Data
NSE (Indian Company) stock data for the past 2 years and
real-time prices are downloaded from the Alpha Vantage
API and displayed in python.
Fig 5.9 Historic Stock Data for NSE (HDFCBANK) stock
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
ยฉ 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 2157
Fig 5.10 Real Time Stock Data for NSE (HDFCBANK) stock
F. ARIMA forecast for NSE stock
The ARIMA model was used in test set data (20% of all
data). The predicted values are compared to real values
and the results are reflected in python.
Fig 5.11: ARIMA forecast for NSE (HDFCBANK) stock
Fig 5.12: ARIMA prediction and Root Mean Squared Error
(RMSE) for NSE (HDFCBANK) stock
G. The forecast of LSTM stock NSE
The LSTM model was used for test set data (20% of all
data). The predicted values are compared to real values
and the results are reflected in python
Fig 5.13: LSTM forecast for NSE (HDFCBANK) stock
Fig 5.14: LSTM prediction and Root Mean Squared Error
(RMSE) for NSE (HDFCBANK) stock
H. Linear Regression is a stock forecast for the NSE
Lineback Model was used for test set data (20% of all
data). The predicted values are compared to real values
and the results are reflected in python.
Fig 515: Linear Regression forecast for NSE (HDFCBANK)
stock
Fig 5.16: Linear Regression prediction and Root Mean
Squared Error (RMSE) for NSE (HDFCBANK) stock
I. Performance Comparison of the Models used
The Root Mean Squared Error (RMSE) for ARIMA, LSTM
and Linear Regression models for NASDAQ and NSE stocks
are tabulated and compared below. It is evident that the
ARIMA and LSTM models have a lower error rate than the
Linear Regression stock forecast model NASDAQ
(American Company). Although, in the NSE (Indian
Company) stocks, LSTM and Linear Regression have a
lower error rate than ARIMA.
RMSE ARIMA LSTM Linear
Regression
NASDAQ
(American) stocks
4.65 10.04 12.01
NSE (Indian)
stocks
257.16 141.62 185.09
Table 5.17: Comparison of Model Performance
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072
ยฉ 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 2158
C. CLASSIFICATION MODELS COMPARISON
The three models in consideration, namely Arima, Lstm,
Linear regression, were then compared based on multiple
areas of attention like the number of parameters and a
comparison of trainable and non-trainable parameters, in
Table-3, the rmse value and loss graphs of each of the
models were investigated along with the ease of learning
taken into account, and finally, the classification results
were examined individually for all evaluation parameters,
in table-1.
Table-1: Classification Results of All Models
Algorithms RMSE
Value
Predicted
value
Present value
ARIMA 3.06 175.57 177.77
LSTM 6.66 166.61 177.77
LINEAR
REGRESSION
9.11 173.71 177.77
8. CONCLUSION
The proposed algorithms work best with NASDAQ stock
market data and NSE stocks. From the headings and tables
presented above, it appears that although the model's
predictions are slightly deviant from real prices, they offer
a good measure of future trends in stock prices. This
balance helps to obtain important information about
stocks, thus facilitating wise investment decisions. It is
noted that the ARIMA and LSTM models are more
compatible with the Linear Regression model for the
NASDAQ (US Company) forecast. Although, in the NSE
(Indian Company) stocks, LSTM and Linear Regression
appear to be more efficient than ARIMA. This also
supports the argument that different models and
algorithms react differently to stock of different indicators.
Therefore, one should choose models and algorithms
depending on the scale and indicators of their stock.
9. REFERENCES
[1] P. D. Yoo, M. H. Kim and T. Jan, "Machine Learning
Techniques and Use of Event Information for Stock
Market Prediction: A Survey and Evaluation,"
International Conference on Computational
Intelligence for Modeling, Control and Automation and
International Conference on Intelligent Agents, Web
Technologies and Internet Commerce (CIMCA-IAWTC
06), Vienna, 2005, pp. 835-841.
[2] M. ฤฐ. Y. Kaya and M. E. Karsligil, "Stock price prediction
using financial news articles," 2010 2nd IEEE
International Conference on Information and
Financial Engineering, Chongqing, 2010, pp. 478-482.
[3] Hedayati, Amin & Moghaddam, Moein & Esfandyari,
Morteza. (2016). Stock market index prediction using
artificial neural network:. Journal of Economics,
Finance and Administrative Science.
10.1016/j.jefas.2016.07.002.
[4] Ayodele A. Adebiyi., Aderemi O. Adewumi, โ€œStock Price
Prediction Using the ARIMA Modelโ€, IJSST, Volume-15,
Issue-4. [Online]. Available :https://ijssst.info/Vol-
15/No-4/data/4923a105.pdf
[5] Chen, Peiyuan. (2020). STOCHASTIC MODELING AND
ANALYSIS OF POWER SYSTEM WITH RENEWABLE
GENERATION, ResearchGate Publication
[6] Angle Qian (2018), Structure of LSTM RNNs, Stack
Exchange [Online]. Available:
https://ai.stackexchange.com/questions/6961/struct
ure-of-lstm-rnns
[7] Rob J Hyndman and George Athanasopoulos,
Forecasting: Principles and Practice, OTexts, Kindle
Edition. [Online]. Available: https://otexts.com/fpp2/

More Related Content

What's hot

Performance analysis and prediction of stock market for investment decision u...
Performance analysis and prediction of stock market for investment decision u...Performance analysis and prediction of stock market for investment decision u...
Performance analysis and prediction of stock market for investment decision u...Hari KC
ย 
BIG DATA TO AVOID WEATHER RELATED FLIGHT DELAYS PPT
BIG DATA TO AVOID WEATHER RELATED FLIGHT DELAYS PPTBIG DATA TO AVOID WEATHER RELATED FLIGHT DELAYS PPT
BIG DATA TO AVOID WEATHER RELATED FLIGHT DELAYS PPTJSPM's JSCOE , Pune Maharashtra.
ย 
Stock Price Trend Forecasting using Supervised Learning
Stock Price Trend Forecasting using Supervised LearningStock Price Trend Forecasting using Supervised Learning
Stock Price Trend Forecasting using Supervised LearningSharvil Katariya
ย 
A Comparison of Stock Trend Prediction Using Accuracy Driven Neural Network V...
A Comparison of Stock Trend Prediction Using Accuracy Driven Neural Network V...A Comparison of Stock Trend Prediction Using Accuracy Driven Neural Network V...
A Comparison of Stock Trend Prediction Using Accuracy Driven Neural Network V...idescitation
ย 
IRJET- Data Visualization and Stock Market and Prediction
IRJET- Data Visualization and Stock Market and PredictionIRJET- Data Visualization and Stock Market and Prediction
IRJET- Data Visualization and Stock Market and PredictionIRJET Journal
ย 
Stock market prediction using Twitter sentiment analysis
Stock market prediction using Twitter sentiment analysisStock market prediction using Twitter sentiment analysis
Stock market prediction using Twitter sentiment analysisjournal ijrtem
ย 
Stock Market Prediction using Machine Learning
Stock Market Prediction using Machine LearningStock Market Prediction using Machine Learning
Stock Market Prediction using Machine Learningijtsrd
ย 
Final Year Projects (Computer Science 2013) - Syed Ubaid Ali Jafri
Final Year Projects (Computer Science 2013) - Syed Ubaid Ali JafriFinal Year Projects (Computer Science 2013) - Syed Ubaid Ali Jafri
Final Year Projects (Computer Science 2013) - Syed Ubaid Ali JafriSyed Ubaid Ali Jafri
ย 
Case study on gina(gobal innovation network and analysis)
Case study on gina(gobal innovation network and analysis)Case study on gina(gobal innovation network and analysis)
Case study on gina(gobal innovation network and analysis)SaloniAgrawal41
ย 
Stock prediction system using ann
Stock prediction system using annStock prediction system using ann
Stock prediction system using anneSAT Publishing House
ย 
IRJET- Stock Market Prediction using Machine Learning
IRJET- Stock Market Prediction using Machine LearningIRJET- Stock Market Prediction using Machine Learning
IRJET- Stock Market Prediction using Machine LearningIRJET Journal
ย 
Big Data to avoid weather related flight delays
Big Data to avoid weather related flight delaysBig Data to avoid weather related flight delays
Big Data to avoid weather related flight delaysAkshatGiri3
ย 
Stock market prediction using data mining
Stock market prediction using data miningStock market prediction using data mining
Stock market prediction using data miningShivakumarSoppannavar
ย 
Deep Learning for Stock Prediction
Deep Learning for Stock PredictionDeep Learning for Stock Prediction
Deep Learning for Stock PredictionLim Zhi Yuan (Zane)
ย 
Attendance Management System using Face Recognition
Attendance Management System using Face RecognitionAttendance Management System using Face Recognition
Attendance Management System using Face RecognitionNanditaDutta4
ย 
A Heart Disease Prediction Model using Logistic Regression By Cleveland DataBase
A Heart Disease Prediction Model using Logistic Regression By Cleveland DataBaseA Heart Disease Prediction Model using Logistic Regression By Cleveland DataBase
A Heart Disease Prediction Model using Logistic Regression By Cleveland DataBaseijtsrd
ย 
Housing price prediction
Housing price predictionHousing price prediction
Housing price predictionAbhimanyu Dwivedi
ย 
machine learning a a tool for disease detection and diagnosis
machine learning a a tool for disease detection and diagnosismachine learning a a tool for disease detection and diagnosis
machine learning a a tool for disease detection and diagnosisPrince kumar Gupta
ย 
IRJET- Future Stock Price Prediction using LSTM Machine Learning Algorithm
IRJET-  	  Future Stock Price Prediction using LSTM Machine Learning AlgorithmIRJET-  	  Future Stock Price Prediction using LSTM Machine Learning Algorithm
IRJET- Future Stock Price Prediction using LSTM Machine Learning AlgorithmIRJET Journal
ย 
Advantages and disadvantages of hidden markov model
Advantages and disadvantages of hidden markov modelAdvantages and disadvantages of hidden markov model
Advantages and disadvantages of hidden markov modeljoshiblog
ย 

What's hot (20)

Performance analysis and prediction of stock market for investment decision u...
Performance analysis and prediction of stock market for investment decision u...Performance analysis and prediction of stock market for investment decision u...
Performance analysis and prediction of stock market for investment decision u...
ย 
BIG DATA TO AVOID WEATHER RELATED FLIGHT DELAYS PPT
BIG DATA TO AVOID WEATHER RELATED FLIGHT DELAYS PPTBIG DATA TO AVOID WEATHER RELATED FLIGHT DELAYS PPT
BIG DATA TO AVOID WEATHER RELATED FLIGHT DELAYS PPT
ย 
Stock Price Trend Forecasting using Supervised Learning
Stock Price Trend Forecasting using Supervised LearningStock Price Trend Forecasting using Supervised Learning
Stock Price Trend Forecasting using Supervised Learning
ย 
A Comparison of Stock Trend Prediction Using Accuracy Driven Neural Network V...
A Comparison of Stock Trend Prediction Using Accuracy Driven Neural Network V...A Comparison of Stock Trend Prediction Using Accuracy Driven Neural Network V...
A Comparison of Stock Trend Prediction Using Accuracy Driven Neural Network V...
ย 
IRJET- Data Visualization and Stock Market and Prediction
IRJET- Data Visualization and Stock Market and PredictionIRJET- Data Visualization and Stock Market and Prediction
IRJET- Data Visualization and Stock Market and Prediction
ย 
Stock market prediction using Twitter sentiment analysis
Stock market prediction using Twitter sentiment analysisStock market prediction using Twitter sentiment analysis
Stock market prediction using Twitter sentiment analysis
ย 
Stock Market Prediction using Machine Learning
Stock Market Prediction using Machine LearningStock Market Prediction using Machine Learning
Stock Market Prediction using Machine Learning
ย 
Final Year Projects (Computer Science 2013) - Syed Ubaid Ali Jafri
Final Year Projects (Computer Science 2013) - Syed Ubaid Ali JafriFinal Year Projects (Computer Science 2013) - Syed Ubaid Ali Jafri
Final Year Projects (Computer Science 2013) - Syed Ubaid Ali Jafri
ย 
Case study on gina(gobal innovation network and analysis)
Case study on gina(gobal innovation network and analysis)Case study on gina(gobal innovation network and analysis)
Case study on gina(gobal innovation network and analysis)
ย 
Stock prediction system using ann
Stock prediction system using annStock prediction system using ann
Stock prediction system using ann
ย 
IRJET- Stock Market Prediction using Machine Learning
IRJET- Stock Market Prediction using Machine LearningIRJET- Stock Market Prediction using Machine Learning
IRJET- Stock Market Prediction using Machine Learning
ย 
Big Data to avoid weather related flight delays
Big Data to avoid weather related flight delaysBig Data to avoid weather related flight delays
Big Data to avoid weather related flight delays
ย 
Stock market prediction using data mining
Stock market prediction using data miningStock market prediction using data mining
Stock market prediction using data mining
ย 
Deep Learning for Stock Prediction
Deep Learning for Stock PredictionDeep Learning for Stock Prediction
Deep Learning for Stock Prediction
ย 
Attendance Management System using Face Recognition
Attendance Management System using Face RecognitionAttendance Management System using Face Recognition
Attendance Management System using Face Recognition
ย 
A Heart Disease Prediction Model using Logistic Regression By Cleveland DataBase
A Heart Disease Prediction Model using Logistic Regression By Cleveland DataBaseA Heart Disease Prediction Model using Logistic Regression By Cleveland DataBase
A Heart Disease Prediction Model using Logistic Regression By Cleveland DataBase
ย 
Housing price prediction
Housing price predictionHousing price prediction
Housing price prediction
ย 
machine learning a a tool for disease detection and diagnosis
machine learning a a tool for disease detection and diagnosismachine learning a a tool for disease detection and diagnosis
machine learning a a tool for disease detection and diagnosis
ย 
IRJET- Future Stock Price Prediction using LSTM Machine Learning Algorithm
IRJET-  	  Future Stock Price Prediction using LSTM Machine Learning AlgorithmIRJET-  	  Future Stock Price Prediction using LSTM Machine Learning Algorithm
IRJET- Future Stock Price Prediction using LSTM Machine Learning Algorithm
ย 
Advantages and disadvantages of hidden markov model
Advantages and disadvantages of hidden markov modelAdvantages and disadvantages of hidden markov model
Advantages and disadvantages of hidden markov model
ย 

Similar to Stock Price Prediction using Machine Learning Algorithms: ARIMA, LSTM & Linear Regression

Visualizing and Forecasting Stocks Using Machine Learning
Visualizing and Forecasting Stocks Using Machine LearningVisualizing and Forecasting Stocks Using Machine Learning
Visualizing and Forecasting Stocks Using Machine LearningIRJET Journal
ย 
IRJET- Novel based Stock Value Prediction Method
IRJET- Novel based Stock Value Prediction MethodIRJET- Novel based Stock Value Prediction Method
IRJET- Novel based Stock Value Prediction MethodIRJET Journal
ย 
IRJET - Stock Market Prediction using Machine Learning Algorithm
IRJET - Stock Market Prediction using Machine Learning AlgorithmIRJET - Stock Market Prediction using Machine Learning Algorithm
IRJET - Stock Market Prediction using Machine Learning AlgorithmIRJET Journal
ย 
Bitcoin Price Prediction and Recommendation System using Deep learning techni...
Bitcoin Price Prediction and Recommendation System using Deep learning techni...Bitcoin Price Prediction and Recommendation System using Deep learning techni...
Bitcoin Price Prediction and Recommendation System using Deep learning techni...IRJET Journal
ย 
IRJET- Stock Price Prediction using combination of LSTM Neural Networks, ARIM...
IRJET- Stock Price Prediction using combination of LSTM Neural Networks, ARIM...IRJET- Stock Price Prediction using combination of LSTM Neural Networks, ARIM...
IRJET- Stock Price Prediction using combination of LSTM Neural Networks, ARIM...IRJET Journal
ย 
Stock Market Prediction using Long Short-Term Memory
Stock Market Prediction using Long Short-Term MemoryStock Market Prediction using Long Short-Term Memory
Stock Market Prediction using Long Short-Term MemoryIRJET Journal
ย 
Time Series Weather Forecasting Techniques: Literature Survey
Time Series Weather Forecasting Techniques: Literature SurveyTime Series Weather Forecasting Techniques: Literature Survey
Time Series Weather Forecasting Techniques: Literature SurveyIRJET Journal
ย 
IRJET- Prediction of Stock Market using Machine Learning Algorithms
IRJET- Prediction of Stock Market using Machine Learning AlgorithmsIRJET- Prediction of Stock Market using Machine Learning Algorithms
IRJET- Prediction of Stock Market using Machine Learning AlgorithmsIRJET Journal
ย 
STOCK PRICE PREDICTION USING ML TECHNIQUES
STOCK PRICE PREDICTION USING ML TECHNIQUESSTOCK PRICE PREDICTION USING ML TECHNIQUES
STOCK PRICE PREDICTION USING ML TECHNIQUESIRJET Journal
ย 
Rachit Mishra_stock prediction_report
Rachit Mishra_stock prediction_reportRachit Mishra_stock prediction_report
Rachit Mishra_stock prediction_reportRachit Mishra
ย 
STOCK PRICE PREDICTION USING TIME SERIES
STOCK PRICE PREDICTION USING TIME SERIESSTOCK PRICE PREDICTION USING TIME SERIES
STOCK PRICE PREDICTION USING TIME SERIESIRJET Journal
ย 
STOCK PRICE PREDICTION USING TIME SERIES
STOCK PRICE PREDICTION USING TIME SERIESSTOCK PRICE PREDICTION USING TIME SERIES
STOCK PRICE PREDICTION USING TIME SERIESIRJET Journal
ย 
A tutorial on applying artificial neural networks and geometric brownian moti...
A tutorial on applying artificial neural networks and geometric brownian moti...A tutorial on applying artificial neural networks and geometric brownian moti...
A tutorial on applying artificial neural networks and geometric brownian moti...eSAT Journals
ย 
Smart E-Logistics for SCM Spend Analysis
Smart E-Logistics for SCM Spend AnalysisSmart E-Logistics for SCM Spend Analysis
Smart E-Logistics for SCM Spend AnalysisIRJET Journal
ย 
IRJET- Stock Market Forecasting Techniques: A Survey
IRJET- Stock Market Forecasting Techniques: A SurveyIRJET- Stock Market Forecasting Techniques: A Survey
IRJET- Stock Market Forecasting Techniques: A SurveyIRJET Journal
ย 
AIRLINE FARE PRICE PREDICTION
AIRLINE FARE PRICE PREDICTIONAIRLINE FARE PRICE PREDICTION
AIRLINE FARE PRICE PREDICTIONIRJET Journal
ย 
IRJET- Analysis of Various Machine Learning Algorithms for Stock Value Predic...
IRJET- Analysis of Various Machine Learning Algorithms for Stock Value Predic...IRJET- Analysis of Various Machine Learning Algorithms for Stock Value Predic...
IRJET- Analysis of Various Machine Learning Algorithms for Stock Value Predic...IRJET Journal
ย 
stock market prediction
stock market predictionstock market prediction
stock market predictionSRIGINES
ย 
IRJET - Comparative Study of Flight Delay Prediction using Back Propagati...
IRJET -  	  Comparative Study of Flight Delay Prediction using Back Propagati...IRJET -  	  Comparative Study of Flight Delay Prediction using Back Propagati...
IRJET - Comparative Study of Flight Delay Prediction using Back Propagati...IRJET Journal
ย 
Stock Market Prediction Using Deep Learning
Stock Market Prediction Using Deep LearningStock Market Prediction Using Deep Learning
Stock Market Prediction Using Deep LearningIRJET Journal
ย 

Similar to Stock Price Prediction using Machine Learning Algorithms: ARIMA, LSTM & Linear Regression (20)

Visualizing and Forecasting Stocks Using Machine Learning
Visualizing and Forecasting Stocks Using Machine LearningVisualizing and Forecasting Stocks Using Machine Learning
Visualizing and Forecasting Stocks Using Machine Learning
ย 
IRJET- Novel based Stock Value Prediction Method
IRJET- Novel based Stock Value Prediction MethodIRJET- Novel based Stock Value Prediction Method
IRJET- Novel based Stock Value Prediction Method
ย 
IRJET - Stock Market Prediction using Machine Learning Algorithm
IRJET - Stock Market Prediction using Machine Learning AlgorithmIRJET - Stock Market Prediction using Machine Learning Algorithm
IRJET - Stock Market Prediction using Machine Learning Algorithm
ย 
Bitcoin Price Prediction and Recommendation System using Deep learning techni...
Bitcoin Price Prediction and Recommendation System using Deep learning techni...Bitcoin Price Prediction and Recommendation System using Deep learning techni...
Bitcoin Price Prediction and Recommendation System using Deep learning techni...
ย 
IRJET- Stock Price Prediction using combination of LSTM Neural Networks, ARIM...
IRJET- Stock Price Prediction using combination of LSTM Neural Networks, ARIM...IRJET- Stock Price Prediction using combination of LSTM Neural Networks, ARIM...
IRJET- Stock Price Prediction using combination of LSTM Neural Networks, ARIM...
ย 
Stock Market Prediction using Long Short-Term Memory
Stock Market Prediction using Long Short-Term MemoryStock Market Prediction using Long Short-Term Memory
Stock Market Prediction using Long Short-Term Memory
ย 
Time Series Weather Forecasting Techniques: Literature Survey
Time Series Weather Forecasting Techniques: Literature SurveyTime Series Weather Forecasting Techniques: Literature Survey
Time Series Weather Forecasting Techniques: Literature Survey
ย 
IRJET- Prediction of Stock Market using Machine Learning Algorithms
IRJET- Prediction of Stock Market using Machine Learning AlgorithmsIRJET- Prediction of Stock Market using Machine Learning Algorithms
IRJET- Prediction of Stock Market using Machine Learning Algorithms
ย 
STOCK PRICE PREDICTION USING ML TECHNIQUES
STOCK PRICE PREDICTION USING ML TECHNIQUESSTOCK PRICE PREDICTION USING ML TECHNIQUES
STOCK PRICE PREDICTION USING ML TECHNIQUES
ย 
Rachit Mishra_stock prediction_report
Rachit Mishra_stock prediction_reportRachit Mishra_stock prediction_report
Rachit Mishra_stock prediction_report
ย 
STOCK PRICE PREDICTION USING TIME SERIES
STOCK PRICE PREDICTION USING TIME SERIESSTOCK PRICE PREDICTION USING TIME SERIES
STOCK PRICE PREDICTION USING TIME SERIES
ย 
STOCK PRICE PREDICTION USING TIME SERIES
STOCK PRICE PREDICTION USING TIME SERIESSTOCK PRICE PREDICTION USING TIME SERIES
STOCK PRICE PREDICTION USING TIME SERIES
ย 
A tutorial on applying artificial neural networks and geometric brownian moti...
A tutorial on applying artificial neural networks and geometric brownian moti...A tutorial on applying artificial neural networks and geometric brownian moti...
A tutorial on applying artificial neural networks and geometric brownian moti...
ย 
Smart E-Logistics for SCM Spend Analysis
Smart E-Logistics for SCM Spend AnalysisSmart E-Logistics for SCM Spend Analysis
Smart E-Logistics for SCM Spend Analysis
ย 
IRJET- Stock Market Forecasting Techniques: A Survey
IRJET- Stock Market Forecasting Techniques: A SurveyIRJET- Stock Market Forecasting Techniques: A Survey
IRJET- Stock Market Forecasting Techniques: A Survey
ย 
AIRLINE FARE PRICE PREDICTION
AIRLINE FARE PRICE PREDICTIONAIRLINE FARE PRICE PREDICTION
AIRLINE FARE PRICE PREDICTION
ย 
IRJET- Analysis of Various Machine Learning Algorithms for Stock Value Predic...
IRJET- Analysis of Various Machine Learning Algorithms for Stock Value Predic...IRJET- Analysis of Various Machine Learning Algorithms for Stock Value Predic...
IRJET- Analysis of Various Machine Learning Algorithms for Stock Value Predic...
ย 
stock market prediction
stock market predictionstock market prediction
stock market prediction
ย 
IRJET - Comparative Study of Flight Delay Prediction using Back Propagati...
IRJET -  	  Comparative Study of Flight Delay Prediction using Back Propagati...IRJET -  	  Comparative Study of Flight Delay Prediction using Back Propagati...
IRJET - Comparative Study of Flight Delay Prediction using Back Propagati...
ย 
Stock Market Prediction Using Deep Learning
Stock Market Prediction Using Deep LearningStock Market Prediction Using Deep Learning
Stock Market Prediction Using Deep Learning
ย 

More from IRJET Journal

TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...IRJET Journal
ย 
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURESTUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTUREIRJET Journal
ย 
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...IRJET Journal
ย 
Effect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil CharacteristicsEffect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil CharacteristicsIRJET Journal
ย 
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...IRJET Journal
ย 
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...IRJET Journal
ย 
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...IRJET Journal
ย 
A Review of โ€œSeismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of โ€œSeismic Response of RC Structures Having Plan and Vertical Irreg...A Review of โ€œSeismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of โ€œSeismic Response of RC Structures Having Plan and Vertical Irreg...IRJET Journal
ย 
A REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADASA REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADASIRJET Journal
ย 
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...IRJET Journal
ย 
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD ProP.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD ProIRJET Journal
ย 
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...IRJET Journal
ย 
Survey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare SystemSurvey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare SystemIRJET Journal
ย 
Review on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridgesReview on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridgesIRJET Journal
ย 
React based fullstack edtech web application
React based fullstack edtech web applicationReact based fullstack edtech web application
React based fullstack edtech web applicationIRJET Journal
ย 
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...IRJET Journal
ย 
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.IRJET Journal
ย 
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...IRJET Journal
ย 
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic DesignMultistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic DesignIRJET Journal
ย 
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...IRJET Journal
ย 

More from IRJET Journal (20)

TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
ย 
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURESTUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
ย 
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
ย 
Effect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil CharacteristicsEffect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil Characteristics
ย 
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
ย 
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
ย 
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
ย 
A Review of โ€œSeismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of โ€œSeismic Response of RC Structures Having Plan and Vertical Irreg...A Review of โ€œSeismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of โ€œSeismic Response of RC Structures Having Plan and Vertical Irreg...
ย 
A REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADASA REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADAS
ย 
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
ย 
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD ProP.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
ย 
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
ย 
Survey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare SystemSurvey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare System
ย 
Review on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridgesReview on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridges
ย 
React based fullstack edtech web application
React based fullstack edtech web applicationReact based fullstack edtech web application
React based fullstack edtech web application
ย 
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
ย 
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
ย 
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
ย 
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic DesignMultistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
ย 
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
ย 

Recently uploaded

Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
ย 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7Call Girls in Nagpur High Profile Call Girls
ย 
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
ย 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
ย 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
ย 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
ย 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
ย 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
ย 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
ย 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
ย 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
ย 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
ย 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
ย 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
ย 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
ย 

Recently uploaded (20)

Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
ย 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
ย 
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar  โ‰ผ๐Ÿ” Delhi door step de...
Call Now โ‰ฝ 9953056974 โ‰ผ๐Ÿ” Call Girls In New Ashok Nagar โ‰ผ๐Ÿ” Delhi door step de...
ย 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
ย 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
ย 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
ย 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
ย 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
ย 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
ย 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
ย 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
ย 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
ย 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
ย 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ย 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
ย 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
ย 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
ย 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
ย 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
ย 

Stock Price Prediction using Machine Learning Algorithms: ARIMA, LSTM & Linear Regression

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 ยฉ 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 2152 Stock Price Prediction using Machine Learning Algorithms: ARIMA, LSTM & Linear Regression Krushali Sohil Patel1, Udit Rajesh Prahladka1, Jaykumar Babulal Patel1, Yogita Shelar2 1Dept. of Information Technology, Atharva College of Engineering, Maharashtra, India 2Assistant Professor, Dept. of Information Technology, Atharva College of Engineering, Maharashtra, India ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - This paper aims to promote the use of the ARIMA, LSTM & Linear Regression algorithm to predict stock prices of NASDAQ (American) and NSE (Indian) and to compare their accuracy. These are machine learning algorithms used for historical stock 2 years ago and real- time stock prices. The NASDAQ stock data was downloaded from the Yahoo Finance API and that the NSE stock was downloaded from the Alpha Vantage API. The full source code of the project was written via Python. It is thought that the ARIMA and LSTM models are more compatible than the Linear Regression model for the NASDAQ (American Company) forecasting model. Although, in the NSE (Indian Company) stocks, LSTM and Linear Regression appear to be more efficient than ARIMA. Key Words: Machine Learning, ARIMA, LSTM, Linear Regression, Stock Market, Prediction, Stock Exchange, Trading, Time Series, Historical Data, Python 1. INTRODUCTION Stock prices fluctuate greatly naturally. They vary based on various factors such as previous prices, current market scenario, financial matters, competing companies etc. It is important to have an accurate forecast of future trends in stock prices with wise investment decisions [1] [2]. However, the volatile nature of stock prices makes it difficult to measure accurately. Stock Market Prediction is an attempt to determine the future value of a company's stock [3]. NASDAQ stock stock prices were downloaded from the Yahoo Finance API and those of the NSE stock were downloaded from the Alpha Vantage API. This data was previous processed and transferred to Machine Learning models. Finally, the results for each model are shown. 2. LITERATURE REVIEW A. Machine learning strategies and application information for Stock Market forecasting information Paul D. Yoo, Maria H. Kim and Tony Jan compared and examined some of the existing ML strategies used to predict the stock market. After comparing easy retreats, multivariate retreats, Neural Networks, Vector Support Machines and Case Based Reasoning models concluded that Neural Networks provides the ability to predict market directions more accurately compared to other strategies. Vector Support Machines and Case Based Consultations are also popular in stock market predictions. In addition, they found that capturing event information on a predictive model plays a very important role in more accurate forecasting. The web provides up-to- date and up-to-date information about the stock market needed to deliver the highest accuracy of predictions and short-term forecasts [1]. B. Predicting Stock Stocks Using Financial News Articles M.I. Yasef Kaya and M. Elef Karshgil analyzed the relationship between the content of financial news articles and stock prices. Labeled news articles are positive or negative depending on their impact on the stock market. Instead of using one word as attributes, they use the names of pairs as attributes. The word couple included a combination of noun and verb. The SVM classifier was trained with labeled articles to predict stock prices. [2]. C. Predicting Market Market Indicators Through the Emotional Network Drs. Jay Joshi, Nisarg A Joshi in his career, used the neural artificial network (ANN) to predict stock prices in the respected Bombay Stock Exchange (BSE) Sensitive Index (Sensex) indexes. They performed experiments and case studies to compare neural network functionality with random mobility and direct autoregressive models. They reported that the neural network exceeds the direct and indirect travel models by all performance measurements in both sample and out-of-sample predictions for BSE Sensex daily return.[3] D. Stock price forecast using the ARIMA model Ayodele A. Adebiyi, Aderemi O. Adewumi and Charles K. Ayo used the ARIMA model to predict stock prices on data obtained from the New York Stock Exchange (NYSE) and the Nigeria Stock Exchange (NSE). They used a data set that included four components: open, low, near and high price. In their work, they have taken the amount of closure as a predictive factor. The reason for this is that the closing price is the most appropriate price at the end of the day. Show them that there is no correlation between
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 ยฉ 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 2153 autocorrelation function (ACFs) and component autocorrelation function (PACFs) using Q statistics and integration sites. In addition, in static data, it is stabilized with the help of various techniques. It was concluded near the end of the study that the ARIMA model was very useful for short-term prediction [4]. 3. METHODOLOGY Fig-1: System Design A. Auto Regressive Integrated Moving Average (ARIMA) ARIMA Complete Form Auto Regressive Integrated Moving Average. There are two types of ARIMA models that can be used in prediction: ARIMA seasonal and non-seasonal ARIMA. In our case, the off-season ARIMA model was used due to the nature of the stock data. ARIMA is actually an example of models based on its past values, so that this relationship can be used to predict future values. The ARIMA model takes three main parameters, described as follows: p = Number of times left. For example, if p = 4, we use the last four times of our data in the default calculation. p enables us to adjust the appropriate timeline line. d = At ARIMA, we equate and convert the related time series into a standard time series by dividing. We use d to determine the number of different numbers. q = q is used to indicate a feature error. Part of the error is part of the unforgivable historical data for the general price range Autoregressive component: The independent AR model relies on a combination of historical values. This dependence is so great that it is seen in the reversal of the old line that the number of parts of the Auto Regressive has a direct dependence on the calculation of previous times. We use the Auto Regressive component if: 1) ACF graphs show the slope descending toward zero 2) The advantages of lag-1 are expressed in the ACF framework of the timeline 3) The PACF numerical graph suddenly drops to zero Moving Rates: Moving ratings are random jumps to data that lead to more than two possible or non-sequential events. These hops are used to clarify the calculated error and to explain what part of the MA is left behind. The MA model completely can justify and clarify this defect similar to the descriptive slider method. We use the Moving Averages component if: a) Significant decrease in ACF is observed after just a few delays b) The model shows a negative Lag c) The slope usually decreases downwards in the PACF Combined component: Combined component is only started when real-time or historical series data is static or seasonal. The number of times that a series of time needs to be divided and calculated to make it a static type of the common component term. Fig-2: ARIMA model [5]
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 ยฉ 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 2154 B. Long Short Term Memory (LSTM) The Long Short-Term Memory network is a RNN that is trained using Backpropagation. It takes care of the disappearing gradient problem encountered earlier. LSTM networks have their own memory and so they prove to be efficient in creating large RNNs and handle time specific scheduling problems. The memory blocks in LSTM network are connected through recurrent layers rather than having neurons. A block has many basic and a few complex components that make it smarter as compared to the standard neuron. It consists of many gates that coordinate relative input functions with output functions. Whenever a block receives an input, a gate is triggered which takes decision about whether or no to pass the block forward for further processing. The standard LSTM block, in its simplest form, consists of an input gate, an output gate, a cell and a forget gate. 1) Cell: It is used to remember the values over arbitrary time intervals. 2) Input Gate: It decides which information to keep in the cell. 3) Output Gate: It is used to decide which part of cell state should be given as an output. 4) Forget Gate: It is used to decide which information to throw away from the cell. Fig-3: LSTM model [6] C. Line Decline In the Line Redistribution model, the calculation line calculation is used to combine a set of input data values (x) into a predicted output data set of input values (y). Both the input and output variables and values are considered integers. The unique number given by the Line Rotation equation is represented using the Greek capital letter Beta (B) and is commonly known as a coefficient. In addition to this, another coefficient is added to give the line additional degrees of freedom. This additional term is often referred to as the bias coefficient. Typically, the bias coefficient is calculated or otherwise measured by finding the distance of our mathematical points from the most relevant line. This can be displayed as a straight line at right angles to the vertex and calculated using the line bias. Statistically, a line tangent is used to measure its proximity to the relative linear Regression. A problem model model in Linear Regression will be provided as follows: y = B0 + Bt * xt + Et This same line is also called a plane or plane when we are dealing with more than one input. This is often the case with high-volume data. The Linear Regression model is therefore represented by the mathematical and introverted values measured by the specific coefficients. However, before using this line number, we are faced with a number of issues. These issues often increase the complexity of the model which makes accurate estimates difficult. This complexity is often discussed in terms of the number of dependent and independent factors. The effect of input variables on the model is effectively disrupted when a certain coefficient becomes zero. Therefore, due to the empty values, the accuracy is reduced in the estimates made from the model (0 * x = 0). When we analyze adaptive techniques that can change the learning algorithm to reduce the complexity of models by emphasizing the importance of the perfect coefficient, which drives some to zero, this exact position is important. Fig-4: Linear Regression [7] Twitter Sentiment Analysis- Social media data has high impact today than ever, it can aid in predicting the trend of the stock market. The method involves collecting news and social media data
  • 4. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 ยฉ 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 2155 and extracting sentiments expressed by individual. Then the correlation between the sentiments and the stock values is analyzed. The learned model can then be used to make future predictions about stock values Fig-5: general plot that illustrates how social media and financial news affect stock market trend 4. DATA-SET AND RESOURCES Data Analysis Stage: Dataset: Yahoo finance provides an easy way to fetch any historical stock values of a company with the help of the ticker-name programmatically using in-built API's. It provides a feature to get prices with initial-date and final date provided. The first step in building a machine learning model is to obtain an optimal dataset. The open soured data which is available on the internet consists of many discrepancies like having missing data, having repeated rows of the same data, data being unstructured etc. Before feeding the data to the machine learning model, the data needs to be modified of preprocessed so that the model is able to deliver the results which are as accurate as possible. The main attributes that are found in financial datasets (historical data about stock prices of a particular company) are as follows: 1. Date of that particular stock price 2. Opening stock price 3. High stock price (highest value of that stock during that day) 4. Low stock price (lowest value of that stock price during that day) 5. Closing stock price 6. Volume of stocks traded Of all these above parameters, the closing price is predominantly used as an attribute to feed the model. Using this single value, the future stock price of a company can be predicted using various regression models available in machine learning. In regression, according to the input given, a curve is plotted in a graph. The curve represents the variations in the stock prices over the years. Here, the X-axis will contain the date of the stock and the Y-axis will contain the closing price of a stock. Training and Testing Stage 1.Shifted values of the label attribute by the percentage you want to predict. 2.Dataframe format is converted to Numpy array format. 3.All NaN data values removed before feeding it to the classifier. 4.The data is scaled such that for any value X. 5.The data is split into test data and train data respective to its type i.e. label and feature. Results 5. RESULTS AND ANALYSIS A. Downloading and Viewing NASDAQ Data NASDAQ (American Company) stock data for the past 2 years and real-time prices are downloaded from the Yahoo Finance API and displayed via python. Fig 5.1 Historic Stock Data for NASDAQ (AAPL) stock
  • 5. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 ยฉ 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 2156 Fig 5.2 Real Time Stock Data for NASDAQ (AAPL) stock B. ARIMA stock forecast NASDAQ The ARIMA model was used in test set data (20% of all data). The predicted values are compared to real values and the results are reflected in python. Fig 5.3: ARIMA forecast for NASDAQ (AAPL) stock Fig 5.4: ARIMA prediction and Root Mean Squared Error (RMSE) for NASDAQ (AAPL) stock C. LSTM stock forecast NASDAQ The LSTM model was used for test set data (20% of all data). The predicted values are compared to real values and the results are reflected in python Fig 5.5: LSTM forecast for NASDAQ (AAPL) stock Fig 5.6: LSTM prediction and Root Mean Squared Error (RMSE) for NASDAQ (AAPL) stock D. Linear Regression stock forecast for NASDAQ Lineback Model was used for test set data (20% of all data). The predicted values are compared to real values and the results are reflected in python Fig 5.7: Linear Regression forecast for NASDAQ (AAPL) stock Fig 5.8: Linear Regression prediction and Root Mean Squared Error (RMSE) for NASDAQ (AAPL) stock E. Downloading and Viewing of NSE Data NSE (Indian Company) stock data for the past 2 years and real-time prices are downloaded from the Alpha Vantage API and displayed in python. Fig 5.9 Historic Stock Data for NSE (HDFCBANK) stock
  • 6. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 ยฉ 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 2157 Fig 5.10 Real Time Stock Data for NSE (HDFCBANK) stock F. ARIMA forecast for NSE stock The ARIMA model was used in test set data (20% of all data). The predicted values are compared to real values and the results are reflected in python. Fig 5.11: ARIMA forecast for NSE (HDFCBANK) stock Fig 5.12: ARIMA prediction and Root Mean Squared Error (RMSE) for NSE (HDFCBANK) stock G. The forecast of LSTM stock NSE The LSTM model was used for test set data (20% of all data). The predicted values are compared to real values and the results are reflected in python Fig 5.13: LSTM forecast for NSE (HDFCBANK) stock Fig 5.14: LSTM prediction and Root Mean Squared Error (RMSE) for NSE (HDFCBANK) stock H. Linear Regression is a stock forecast for the NSE Lineback Model was used for test set data (20% of all data). The predicted values are compared to real values and the results are reflected in python. Fig 515: Linear Regression forecast for NSE (HDFCBANK) stock Fig 5.16: Linear Regression prediction and Root Mean Squared Error (RMSE) for NSE (HDFCBANK) stock I. Performance Comparison of the Models used The Root Mean Squared Error (RMSE) for ARIMA, LSTM and Linear Regression models for NASDAQ and NSE stocks are tabulated and compared below. It is evident that the ARIMA and LSTM models have a lower error rate than the Linear Regression stock forecast model NASDAQ (American Company). Although, in the NSE (Indian Company) stocks, LSTM and Linear Regression have a lower error rate than ARIMA. RMSE ARIMA LSTM Linear Regression NASDAQ (American) stocks 4.65 10.04 12.01 NSE (Indian) stocks 257.16 141.62 185.09 Table 5.17: Comparison of Model Performance
  • 7. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 03 | Mar 2022 www.irjet.net p-ISSN: 2395-0072 ยฉ 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 2158 C. CLASSIFICATION MODELS COMPARISON The three models in consideration, namely Arima, Lstm, Linear regression, were then compared based on multiple areas of attention like the number of parameters and a comparison of trainable and non-trainable parameters, in Table-3, the rmse value and loss graphs of each of the models were investigated along with the ease of learning taken into account, and finally, the classification results were examined individually for all evaluation parameters, in table-1. Table-1: Classification Results of All Models Algorithms RMSE Value Predicted value Present value ARIMA 3.06 175.57 177.77 LSTM 6.66 166.61 177.77 LINEAR REGRESSION 9.11 173.71 177.77 8. CONCLUSION The proposed algorithms work best with NASDAQ stock market data and NSE stocks. From the headings and tables presented above, it appears that although the model's predictions are slightly deviant from real prices, they offer a good measure of future trends in stock prices. This balance helps to obtain important information about stocks, thus facilitating wise investment decisions. It is noted that the ARIMA and LSTM models are more compatible with the Linear Regression model for the NASDAQ (US Company) forecast. Although, in the NSE (Indian Company) stocks, LSTM and Linear Regression appear to be more efficient than ARIMA. This also supports the argument that different models and algorithms react differently to stock of different indicators. Therefore, one should choose models and algorithms depending on the scale and indicators of their stock. 9. REFERENCES [1] P. D. Yoo, M. H. Kim and T. Jan, "Machine Learning Techniques and Use of Event Information for Stock Market Prediction: A Survey and Evaluation," International Conference on Computational Intelligence for Modeling, Control and Automation and International Conference on Intelligent Agents, Web Technologies and Internet Commerce (CIMCA-IAWTC 06), Vienna, 2005, pp. 835-841. [2] M. ฤฐ. Y. Kaya and M. E. Karsligil, "Stock price prediction using financial news articles," 2010 2nd IEEE International Conference on Information and Financial Engineering, Chongqing, 2010, pp. 478-482. [3] Hedayati, Amin & Moghaddam, Moein & Esfandyari, Morteza. (2016). Stock market index prediction using artificial neural network:. Journal of Economics, Finance and Administrative Science. 10.1016/j.jefas.2016.07.002. [4] Ayodele A. Adebiyi., Aderemi O. Adewumi, โ€œStock Price Prediction Using the ARIMA Modelโ€, IJSST, Volume-15, Issue-4. [Online]. Available :https://ijssst.info/Vol- 15/No-4/data/4923a105.pdf [5] Chen, Peiyuan. (2020). STOCHASTIC MODELING AND ANALYSIS OF POWER SYSTEM WITH RENEWABLE GENERATION, ResearchGate Publication [6] Angle Qian (2018), Structure of LSTM RNNs, Stack Exchange [Online]. Available: https://ai.stackexchange.com/questions/6961/struct ure-of-lstm-rnns [7] Rob J Hyndman and George Athanasopoulos, Forecasting: Principles and Practice, OTexts, Kindle Edition. [Online]. Available: https://otexts.com/fpp2/