In Task 2, I tackled the problem of stock price prediction using Time Series Forecasting techniques. The project focuses on understanding market behavior and predicting future stock values β specifically for Apple Inc. (AAPL).
- π₯ Imported and cleaned the stock data (
AAPL.csv
) - π Performed exploratory data analysis (EDA) to visualize trends
- π§ Built a predictive deep learning model using LSTM (Long Short-Term Memory) networks
- π§ͺ Evaluated model performance using RMSE and trend matching
- π Visualized actual vs predicted stock prices
- Time Series Decomposition and Feature Scaling
- Understanding windowing and sequence shaping for LSTM inputs
- The power of LSTM in capturing long-term dependencies in sequential data
- Techniques to reduce overfitting and improve model generalization
β
The LSTM model produced highly accurate short-term predictions
π RMSE was kept low, and predicted values closely followed actual stock movements
π Visual alignment between the trend lines confirmed good predictive quality
- Language: Python
- Libraries:
pandas
,numpy
β Data preprocessingmatplotlib
,seaborn
β Data visualizationtensorflow.keras
β LSTM model buildingscikit-learn
β Scaling and evaluation
Clone the repository:
git clone https://github.com/Flash019/FUTURE_ML_02.git
cd FUTURE_ML_02
pip install -r requirements.txt
jupyter notebook FUTURE_ML_02.ipynb