This AI project utilizes Long Short-Term Memory (LSTM) models for time series forecasting to predict stock prices. It includes various components and files to facilitate the prediction process.
- File:
ML_Model_for_ADAMS_Stock.py
- Description: This file contains the Python code for training and implementing the LSTM model for stock price prediction.
- File:
ADAMS_1.4.h5
- Description: The trained LSTM model is saved in this file for later use in making predictions.
- File:
Adam Sugar Mills Limited.csv
- Description: The dataset used for training and testing the model, containing historical stock price data.
- File:
data_scraper.py
- Description: A Python script used to scrape and collect stock price data from stock exchange.
- File:
stock.db
- Description: This SQLite database stores historical stock price data, stores new data fetched by 'data_scrapper.py' and the predictions made by model for easy retrieval and analysis.
- File:
get_predictions.py
- Description: A Python script to obtain stock price predictions using the trained LSTM model.
- File:
pred_stocks_app.py
- Description: The main application file, responsible for providing a user interface to interact with the model and view predictions.
- Ensure you have all the required files and dependencies installed.
- Run main to fetch data from database and make predictions.
- Use the
pred_stocks_app.py
to visualize predictions in GUI.