Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
tags:
|
| 4 |
+
- time-series
|
| 5 |
+
- regression
|
| 6 |
+
- svr
|
| 7 |
+
- stock-prediction
|
| 8 |
+
- technical-analysis
|
| 9 |
+
- scikit-learn
|
| 10 |
+
---
|
| 11 |
+
# SVR Model for AAPL Price Prediction (Technical Indicators)
|
| 12 |
+
|
| 13 |
+
This repository hosts a trained **Support Vector Regression (SVR)** model and its necessary preprocessing components (StandardScaler) for predicting the closing price of **AAPL**.
|
| 14 |
+
|
| 15 |
+
## Model Details
|
| 16 |
+
- **Algorithm:** Support Vector Regression (SVR) with RBF/Linear Kernel (Tuned by Grid Search)
|
| 17 |
+
- **Features:** 37 features derived from technical analysis (SMA, Volatility, Returns) with lookbacks up to 252 days.
|
| 18 |
+
- **Target:** Next day's closing price.
|
| 19 |
+
- **Training Period:** 2023-01-01 to 2024-12-31
|
| 20 |
+
|
| 21 |
+
## Inference
|
| 22 |
+
To use this model, you must correctly calculate and input all 37 technical features (including moving averages and volatility ratios) for the day prior to the prediction.
|
| 23 |
+
|
| 24 |
+
1. Load the `svr_model.joblib` and `standard_scaler.joblib`.
|
| 25 |
+
2. Calculate the 37 features for day $T$.
|
| 26 |
+
3. Scale the 37 features using the loaded `StandardScaler`.
|
| 27 |
+
4. Run the prediction.
|
| 28 |
+
|