This repository implements LSTM is for the purpose of stock prediction.
Devansh Shahane (Team Lead)
Prathamesh Sharma
Nirbhay Tiwari
Stock Prediction Model is an ML-powered stock price prediction app built with Python and Streamlit. It utilizes machine learning models to forecast stock prices and help investors make data-driven decisions.
- Please check it over here: 📈Stock Prediction Model
- To Run it effectively, with more crisp understanding: Run On Google Colab
- A Easier Presentation, has been linked here: A Quickie
The dataset provided is the historical stock market data of Tesla, Inc. (TSLA). Here's a summary of its structure and key statistics:
- Date: The date of the stock data, formatted as MM/DD/YYYY.
- Open: The price of the stock at the opening of the trading day.
- High: The highest price of the stock during the trading day.
- Low: The lowest price of the stock during the trading day.
- Close: The closing price of the stock for the trading day.
- Volume: The number of shares traded during the trading day.
- Adj Close: The adjusted closing price, accounting for any corporate actions such as dividends, stock splits, etc.
- The dataset starts from June 29, 2010, with the first few entries showing significant volatility in the stock price and trading volume.
- The Volume of shares traded also varies greatly, from as low as 118,500 to as high as 37,163,900, with a mean trading volume of around 4,270,741 shares.
The dataset is divided into training and validation sets as follows:
- Training the model by some old data from the dataset.
- Validating data on the previous closing values from the dataset.
- Predicting data by using the trained model.
5. The Lib like Numpy manipulates the array, along side Lib Panda Transforms and Visualises the Data.
7. Using Keras, Sequential, Dense & the most prominent LSTM model, we train the model layer by layer.
10. Hence generated the final output of the next day closing value on the basis of previous 60 days.
Trend Pulse is built with these core frameworks and modules:
- Streamlit - To create the web app UI and interactivity
- LSTM - To build the Long Short Term Memory model
- Plotly - To create interactive financial charts
The app workflow is:
- User feeds the CSV file.
- Historical data is fetched with CSV file.
- LSTM model is trained on the data
- Model makes multi-day price forecasts
- Results are plotted with Plotly
This is not financial advice! Use forecast data to inform your own investment research. No guarantee of trading performance.