Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 📈 LSTM Stock Price Forecasting
|
| 2 |
+
|
| 3 |
+
This repository contains an **LSTM model** trained on stock closing prices.
|
| 4 |
+
|
| 5 |
+
- Dataset: Yahoo Finance (AAPL, 2015–2023)
|
| 6 |
+
- Models Compared: ARIMA vs LSTM
|
| 7 |
+
- Evaluation: RMSE & MAPE using rolling window
|
| 8 |
+
- Deployment: Hugging Face Hub (`DataSynthis_ML_JobTask`)
|
| 9 |
+
|
| 10 |
+
## Usage
|
| 11 |
+
```python
|
| 12 |
+
from huggingface_hub import hf_hub_download
|
| 13 |
+
import tensorflow as tf
|
| 14 |
+
|
| 15 |
+
# Download model
|
| 16 |
+
model_path = hf_hub_download(repo_id="Jalal10/DataSynthis_ML_JobTask", filename="lstm_stock_model.h5")
|
| 17 |
+
|
| 18 |
+
# Load model
|
| 19 |
+
model = tf.keras.models.load_model(model_path)
|