Stock Market Prediction Using Machine Learning Techniques
Stock Market Prediction Using Machine Learning Techniques
(JOIREM)
Volume: 10 Issue: 04 | April-2024
Prof. M. S. Nimase
Abstract
Machine Learning, Stock Price, Prediction,
The stock market is a very important activity American Airlines, Support Vector Machine
in the finance business. Its demand is (SVR), Artificial Neural Network (ANN),
consistently growing. Stock market prediction Random Forest (RF), Decision Tree (DT).
is the process of determining the future value
of company stock or other financial
instruments traded on a financial exchange. 1. Introduction
For some decades Artificial Neural Network
(ANN), which is one intelligent data mining The Stock Market is the accumulation of
technique has been used for Stock Price stockbrokers, traders, and investors who
Prediction. It has been trusted as the most sell buy or share trades. There are so many
accurate consideration. This paper surveys companies that provide their stock list on
different machine learning models for stock market, these make their stocks attractive to
price prediction. We have trained the investors[1].Becauseeversincethe16sinvesto
available
rsaretryingdifferent
stockdataofAmericanAirlinesforthisproject.Th
eprogramminglanguagethatwe have used in techniquestogetknowledgeaboutdifferentco
this paper is Python. The Machine Learning mpaniestoimprovetheirinvestmentreturns[2]
(ML) models used in this project are Decision . It plays a very important role in increasing
Tree (DT), Support Vector Regression (SVR), a developing country’s economic status like
Random Forest (RF),and ANN. The India [3]. The demand for Stock Market is
datahereissplitinto70%fortrainingand30%fort growing significantly. We all know that it
esting.The dataset contains stock data for the has been in focus for many years because of
last 5 years. From the simulation results, it is the outstanding profits [4]. Lots of wealth
shown that Random Forest performs better as are traded daily through the stock market
compared to others. Thus, it can be used in and so it is seen as one of the most
the real-time implementation.
profitable financial outlets [5]. Now, the
Keywords stock market is one of the factors which
shows a country’s economy[6]. Many
people invest a hand some amount to
money in the share market but some time The remaining paper has been laid
they tend to in curvery huge losses because out in the following order. In section -2
they depend upon the stockbrokers, who ad- literature survey has been reviewed
vise investors based on fundamental, followed by section -3 where various
technical, and time series [7]. Investors approaches or different machine learning
have been trying to find an intelligent idea algorithms used have been discussed. In
to overcome such problems. This is where section-4 the problems that occurred or
Stock Price Prediction comes into action that needed to be improved previously
because predicting stock prices is very have been addressed. Section-5
necessary [2]. represents all the information about the
dataset. In section-6 the results and
ACI’22:WorkshoponAdvancesinComputationIntelligence,itsConce
pts&ApplicationsatISIC2022,May17- future works have been discussed and in
19,Savannah,UnitedStatesEMAIL: [email protected] (A. section-7 the paper has been concluded.
1); [email protected] (A.2); [email protected]
(A. 3);[email protected] (A. 4)
2. Literature Survey
ORCID:0000-0001-5843-0335(A.3)
©️2020Copyrightforthispaperbyitsauthors.
UsepermittedunderCreativeCommonsLicenseAttribution4.0Internation
al(CCBY4.0).
CEURWorkshopProceedings(CEUR-WS.org)
Since the introduction of the Stock
Market so many predictors are
Stock Price Prediction's main idea is to constantly trying to predict stock values
accurately predict the future financial using different Machine Learning
outcome [5]. In the past few years, algorithms such as Support Vector
Machine Learning algorithms are seen to Regressor (SVR), Linear Regression
give promising results in various (LR), Support Vector Machine (SVM),
industries, so many traders are applying Neural Networks Genetic Algorithms,
these techniques to their respective fields and many more [5] on stocks of various
[8]. companies.
There is a diversity in many papers
ML can be applied as a game- based on different parameters. Many
changer [9]. In this paper, some different ML algorithms are used by
experimentation is done different authors based on different
bytakingdifferentMLalgorithmstopredict parameters. Some authors believe that
theopeningpriceofAmericanAirlinesstoc Neural Networks have given better
ks. The Machine learning (ML) performance as compared to other
algorithms that we have used are approaches [5]. Like, in paper [12]
Random Forest (RF), Decision Tree Hiransha M and Gopal Krishnan E. A
(DT), Support Vector Regressor (SVR), has trained four models Multi-Layer
and Artificial Neural Network [6]. Perceptron (MLP), Recurrent Neural
Prediction of Stocks is based on the Network (RNN), Convolutional Neural
opening price of the day for this paper. Network (CNN), and Long Short-Term
Figure2.SupportVectorRegression
𝑖=1 𝑊𝑖∗𝑋𝑖+ 𝑏
Figure3.RandomForestProcedure
rowsand7columns.Eachrowrepresentsthe
information for a single day. For Figure5: Opening Price Graph
columns, the following are the feature
description. Data Scaling Standardization and
Data Preprocessing Normalization are done on the data using
It includes searching for essential Minmax Scaler and Standard Scaler to limit
missing or null values and replacing the ranges of variables to make them
them with mean values Searched for comparable on common grounds using ML
categorical value and if there is any methods.
unnecessary data then those values are Feature Selection
dropped. Theselectionoffeaturesisaveryimport
prediction."International Conference on
Intelligent Data Engineering and
Automated Learning. Springer, Berlin,
Heidelberg, 2002.
14. Kohli,PahulPreetSingh,etal."Stockpredic
tionusingmachinelearningalgorithms."
Applications of Artificial Intelligence
Techniques in Engineering. Springer,
Singapore, 2019. 405-414.
15. Moedjahedy, Jimmy H., et al. "Stock
Price Forecasting on
Telecommunication Sector Companies
in Indonesia Stock Exchange Using
Machine Learning Algorithms." 2020
2nd International Conference on
Cybernetics and Intelligent System
(ICORIS). IEEE, 2020.
16. Mohanty,SachiNandan,etal.,eds.Recom
menderSystemwithMachineLearningand
Artificial Intelligence: Practical Tools
and Applications in Medical,
Agricultural, and Other Industries. John
Wiley & Sons, 2020.
17. Jain, Sarika, et al. "Human Disease
Diagnosis Using Machine Learning."
Intelligent Data Communication
Technologies and Internet of Things.
Springer, Singapore, 2021. 689-696.
18. Sarode, Sumeet, et al. "Stock price
prediction using machine learning
techniques." 2019 International
Conference on Intelligent Sustainable
Systems (ICISS). IEEE, 2019.