0% found this document useful (0 votes)
44 views19 pages

STOCK

Stock price prediction ppt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views19 pages

STOCK

Stock price prediction ppt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

Machine Learning

Machine learning (ML) is a branch of artificial intelligence (AI) and computer science that
focuses on the using data and algorithms to enable AI to imitate the way that humans learn,
gradually improving its accuracy.
Libraries used
Numpy Matplotlib
NumPy stands for Matplotlib is a
Numerical Python, comprehensive
is an open-source library for creating
Python library static, animated,
and interactive
that provides
visualizations in
support for large,
Python. Matplotlib
multi-dimensional
makes easy things
arrays and
easy and hard
matrices.
things possible.

Pandas Seaborn
Pandas is a Seaborn is an
Python library amazing visualization
used for working library for statistical
with data sets. graphics plotting in
It has functions Python. It provides
for analyzing, beautiful default
cleaning, styles and color
exploring, and palettes to make
manipulating statistical plots more
data. attractive.
What is the Stock Market?
A stock market is a public market where you can
buy and sell shares for publicly listed companies.
The stocks, also known as equities, represent
ownership in the company. The stock exchange is
the mediator that allows the buying and selling of
shares.

Importance of Stock Market?


Stock markets help companies to raise capital.
It helps generate personal wealth.
Stock markets serve as an indicator of the
state of the economy.
It is a widely used source for people to invest
money in companies with high growth potential.
Workflow of the Stock price prediction
Data Collection
Data collection allows
you to capture a record
of past events so that we
can use data analysis to
find recurring patterns.

The yfinance library is


used here through which
We can retrieve company
financial information (e.g.
financial ratios), as well
as historical market data
by using this.
Closing Price Analysis

The closing price is


the last price at which
the stock is traded
during the regular
trading day. A stock’s
closing price is the
standard benchmark
used by investors to
track its performance
over time.
Stocks Traded Each day in different companies
Volume is the amount of
an asset or security that
changes hands over
some period of time,
often over the course of
a day. For instance, the
stock trading volume
would refer to the
number of shares of
security traded between
its daily open and close.
Trading volume, and
changes to volume over
the course of time, are
important inputs for
technical traders.
Histogram representation
Pie Chart
Representation of
the volume of
stocks traded each
day in different
companies
Moving Average Return
The moving average
(MA) is a simple
technical analysis tool
that smooths out price
data by creating a
constantly updated
average price. The
average is taken over a
specific period of time,
like 10 days, 20
minutes, 30 weeks, or
any time period the
trader chooses.
Linear Relationship of google with itself
BOX PLOT REPRESENTATION
Correlation of stock return and stock closing price
Correlation is a statistic
that measures the
degree to which two
variables move in
relation to each other
which has a value that
must fall between -1.0
and +1.0. Correlation
measures association,
but doesn’t show if x
causes y or vice versa —
or if the association is
caused by a third
factor[1].
Closing price prediction based on history

Stock Price Prediction is the task of forecasting


future stock prices based on historical data and
various market indicators. It involves using
statistical models and machine learning algorithms
to analyze financial data and make predictions
about the future performance of a stock.
Model

Testing data is used to determine the performance of the trained model, whereas
training data is used to train the machine learning model. Training data is the power
that supplies the model in machine learning, it is larger than testing data. Because
more data helps to more effective predictive models. When a machine learning
algorithm receives data from our records, it recognizes patterns and creates a
decision-making model.
Predictive modelling
Predictive modeling is a
mathematical process
used to predict future
events or outcomes by
analyzing patterns in a
given set of input data. It
is a crucial component of
predictive analytics, a
type of data analytics
which uses current and
historical data to forecast
activity, behavior and
trends.
Accuracy
of
the
model

You might also like