Jalal10 commited on
Commit
c6a3043
Β·
verified Β·
1 Parent(s): 9b5b949

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +35 -5
README.md CHANGED
@@ -1,4 +1,5 @@
1
  ---
 
2
  language: en
3
  tags:
4
  - time-series
@@ -16,12 +17,41 @@ metrics:
16
 
17
  # πŸ“ˆ LSTM Stock Price Forecasting
18
 
19
- This repository contains an **LSTM model** trained on stock closing prices.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
 
21
- - Dataset: Yahoo Finance (AAPL, 2015–2023)
22
- - Models Compared: ARIMA vs LSTM
23
- - Evaluation: RMSE & MAPE using rolling window
24
- - Deployment: Hugging Face Hub (`DataSynthis_ML_JobTask`)
25
 
26
  ## Usage
27
  ```python
 
1
  ---
2
+ ---
3
  language: en
4
  tags:
5
  - time-series
 
17
 
18
  # πŸ“ˆ LSTM Stock Price Forecasting
19
 
20
+ This repository contains an **LSTM model** trained on stock closing prices and compared with a traditional ARIMA baseline.
21
+ The goal is to forecast future stock values and evaluate which approach generalizes better.
22
+
23
+ ---
24
+
25
+ ## πŸ“Š Dataset
26
+ - **Source:** Yahoo Finance
27
+ - **Ticker:** Apple Inc. (AAPL)
28
+ - **Period:** 2015–2023
29
+ - **Feature Used:** Daily closing price
30
+
31
+ ---
32
+
33
+ ## 🧠 Models Implemented
34
+ - **ARIMA (Auto ARIMA)** β€” traditional statistical time-series forecasting
35
+ - **LSTM** β€” deep learning recurrent neural network for sequential data
36
+
37
+ ---
38
+
39
+ ## πŸ“Š Evaluation Results
40
+
41
+ | Model | RMSE | MAPE |
42
+ |-------|-----------|----------|
43
+ | ARIMA | 15.796 | 0.0857 |
44
+ | LSTM | 7.533 | 0.0397 |
45
+
46
+ βœ… **Conclusion:** LSTM significantly outperforms ARIMA with lower RMSE and MAPE, showing its ability to capture nonlinear patterns in stock prices.
47
+
48
+ ---
49
+
50
+ ## πŸ“ˆ Example Forecast Plot
51
+ *(You can upload and embed a forecast.png here if available)*
52
 
53
+ ```markdown
54
+ ![Forecast](./forecast.png)
 
 
55
 
56
  ## Usage
57
  ```python