HusseinJammal / Liquid-Neural-Networks-in-Stock-Market-Prediction

This repository hosts a stock market prediction model for Tesla and Apple using Liquid Neural Networks. It showcases data-driven forecasting techniques, feature engineering, and machine learning to enhance the accuracy of financial predictions.
Apache License 2.0
26 stars 5 forks source link
apple-stock-data deep-learning liquid-neural-networks machine-learning neural-networks stock-market stock-market-prediction tesla-stock-analysis time-series time-series-analysis

Stock Market Prediction Using Liquid Neural Networks

This project focuses on predicting the stock prices of Tesla (TSLA) and Apple (AAPL) using advanced machine learning techniques, specifically Liquid Neural Networks (LNN). The goal is to leverage historical stock data to forecast future prices with high accuracy. User Interface

Project Structure

Data

The data for this project is retrieved from Yahoo Finance, focusing on the following stocks:

Features included are Open, High, Low, Close, Adjusted Close, and Volume. Technical indicators such as MACD, RSI, Bollinger Bands, and others are calculated to enhance the dataset.

Setup and Installation

To run this project on your local machine, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/HusseinJammal/Liquid-Neural-Networks-in-Stock-Market-Prediction.git

    cd /Liquid-Neural-Networks-in-Stock-Market-Prediction

  2. Navigate to the project directory:

    cd stocks

  3. Install necessary dependencies:

    npm i

  4. Start the application:

    npm run start

  5. Run the Python application:

    npm run app.py

Ensure you have Python and Node.js installed on your machine, along with necessary libraries such as yfinance, numpy, pandas, sklearn, and any specific libraries for LNN or deep learning frameworks you are using.

Feature Engineering

Detailed feature engineering steps include the creation of:

Models

Liquid Neural Networks

Utilization of LNN with configurations for different layers, including dropout and regularization to prevent overfitting.

Evaluation

The models are evaluated using the following metrics:

Results from these metrics provide insights into the models' predictive accuracy and performance.

Contributions

Contributions to this project are welcome. Please fork the repository and submit pull requests with any enhancements or bug fixes.