Update README with YAML metadata and enhance model card
Browse files- README.md +23 -1
- model_card.json +45 -14
README.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# NSE LSTM Model - Indian Stock Market Prediction
|
| 2 |
|
| 3 |
## Overview
|
|
@@ -72,7 +94,7 @@ If you use this model in your research, please cite:
|
|
| 72 |
title={NSE LSTM Model - Indian Stock Market Prediction},
|
| 73 |
author={Your Name},
|
| 74 |
year={2025},
|
| 75 |
-
url={https://huggingface.co/
|
| 76 |
}
|
| 77 |
```
|
| 78 |
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
tags:
|
| 5 |
+
- finance
|
| 6 |
+
- stock-market
|
| 7 |
+
- lstm
|
| 8 |
+
- time-series
|
| 9 |
+
- prediction
|
| 10 |
+
- nse
|
| 11 |
+
- india
|
| 12 |
+
- technical-analysis
|
| 13 |
+
license: mit
|
| 14 |
+
datasets:
|
| 15 |
+
- nse-bhavcopy
|
| 16 |
+
metrics:
|
| 17 |
+
- mae
|
| 18 |
+
- mse
|
| 19 |
+
library_name: tensorflow
|
| 20 |
+
pipeline_tag: time-series-forecasting
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
# NSE LSTM Model - Indian Stock Market Prediction
|
| 24 |
|
| 25 |
## Overview
|
|
|
|
| 94 |
title={NSE LSTM Model - Indian Stock Market Prediction},
|
| 95 |
author={Your Name},
|
| 96 |
year={2025},
|
| 97 |
+
url={https://huggingface.co/your-username/nse-lstm-model}
|
| 98 |
}
|
| 99 |
```
|
| 100 |
|
model_card.json
CHANGED
|
@@ -3,31 +3,62 @@
|
|
| 3 |
"model_type": "LSTM Neural Network",
|
| 4 |
"task": "Stock Price Prediction",
|
| 5 |
"dataset": "NSE Bhavcopy (2004-2025)",
|
|
|
|
|
|
|
|
|
|
| 6 |
"metrics": {
|
| 7 |
"training_mae": 0.0216,
|
| 8 |
-
"validation_mae": 0.0217
|
|
|
|
|
|
|
| 9 |
},
|
| 10 |
"architecture": {
|
| 11 |
-
"input_shape": [
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
"
|
| 16 |
-
1
|
| 17 |
-
],
|
| 18 |
"layers": [
|
| 19 |
-
"LSTM(
|
| 20 |
-
"LSTM(
|
|
|
|
| 21 |
"Dense(16)",
|
| 22 |
"Dense(1)"
|
| 23 |
]
|
| 24 |
},
|
| 25 |
"features": [
|
| 26 |
"OHLCV data",
|
| 27 |
-
"Moving Averages",
|
| 28 |
-
"Bollinger Bands",
|
| 29 |
-
"RSI",
|
| 30 |
"MACD",
|
| 31 |
-
"Volume indicators"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
]
|
| 33 |
}
|
|
|
|
| 3 |
"model_type": "LSTM Neural Network",
|
| 4 |
"task": "Stock Price Prediction",
|
| 5 |
"dataset": "NSE Bhavcopy (2004-2025)",
|
| 6 |
+
"license": "MIT",
|
| 7 |
+
"author": "thoutam",
|
| 8 |
+
"description": "A comprehensive LSTM model trained on 6.8 million records across 3,622 symbols from the National Stock Exchange (NSE) of India for stock price prediction using technical indicators and historical patterns.",
|
| 9 |
"metrics": {
|
| 10 |
"training_mae": 0.0216,
|
| 11 |
+
"validation_mae": 0.0217,
|
| 12 |
+
"training_mse": 0.0005,
|
| 13 |
+
"validation_mse": 0.0005
|
| 14 |
},
|
| 15 |
"architecture": {
|
| 16 |
+
"input_shape": [5, 25],
|
| 17 |
+
"output_shape": [1],
|
| 18 |
+
"total_params": 60225,
|
| 19 |
+
"trainable_params": 60225,
|
| 20 |
+
"non_trainable_params": 0,
|
|
|
|
|
|
|
| 21 |
"layers": [
|
| 22 |
+
"LSTM(64) + Dropout(0.2)",
|
| 23 |
+
"LSTM(64) + Dropout(0.2)",
|
| 24 |
+
"Dense(32)",
|
| 25 |
"Dense(16)",
|
| 26 |
"Dense(1)"
|
| 27 |
]
|
| 28 |
},
|
| 29 |
"features": [
|
| 30 |
"OHLCV data",
|
| 31 |
+
"Moving Averages (5, 10, 20, 50 day)",
|
| 32 |
+
"Bollinger Bands (20 day)",
|
| 33 |
+
"RSI (14 day)",
|
| 34 |
"MACD",
|
| 35 |
+
"Volume indicators (OBV, VPT)"
|
| 36 |
+
],
|
| 37 |
+
"training_data": {
|
| 38 |
+
"total_records": 6795445,
|
| 39 |
+
"symbols": 3622,
|
| 40 |
+
"date_range": "2004-2025",
|
| 41 |
+
"frequency": "daily",
|
| 42 |
+
"source": "NSE Bhavcopy"
|
| 43 |
+
},
|
| 44 |
+
"usage": {
|
| 45 |
+
"input_format": "Normalized features with shape (batch_size, 5, 25)",
|
| 46 |
+
"output_format": "Single prediction value for next day's price change",
|
| 47 |
+
"preprocessing": "Requires StandardScaler normalization using provided scaler.pkl"
|
| 48 |
+
},
|
| 49 |
+
"limitations": [
|
| 50 |
+
"Trained on Indian market data only",
|
| 51 |
+
"Requires 5 days of historical data",
|
| 52 |
+
"Predictions are based on technical indicators only"
|
| 53 |
+
],
|
| 54 |
+
"tags": [
|
| 55 |
+
"finance",
|
| 56 |
+
"stock-market",
|
| 57 |
+
"lstm",
|
| 58 |
+
"time-series",
|
| 59 |
+
"prediction",
|
| 60 |
+
"nse",
|
| 61 |
+
"india",
|
| 62 |
+
"technical-analysis"
|
| 63 |
]
|
| 64 |
}
|