Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 792 Bytes

File metadata and controls

24 lines (17 loc) · 792 Bytes

Apple Stock Price Prediction

This repository contains a Python script that performs the following tasks:

  1. Data Retrieval: Downloads historical stock market data for Apple Inc. (AAPL) from Yahoo Finance.
  2. Data Processing: Prepares the data for analysis, including extracting relevant features and scaling.
  3. Visualization: Creates a candlestick chart to visualize Apple's stock price trends.
  4. Machine Learning: Trains a Long Short-Term Memory (LSTM) model to predict future stock prices based on historical data.

Requirements

Make sure you have the following Python packages installed:

  • pandas
  • yfinance
  • plotly
  • scikit-learn
  • keras
  • numpy

You can install them using pip:

pip install pandas yfinance plotly scikit-learn keras numpy