Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
tags:
|
| 4 |
+
- time-series
|
| 5 |
+
- regression
|
| 6 |
+
- svr
|
| 7 |
+
- stock-prediction
|
| 8 |
+
- scikit-learn
|
| 9 |
+
---
|
| 10 |
+
# SVR Model for AAPL Price Prediction
|
| 11 |
+
|
| 12 |
+
This repository hosts a trained **Support Vector Regression (SVR)** model and its necessary preprocessing components (MinMaxScaler) for predicting the closing price of **AAPL**.
|
| 13 |
+
|
| 14 |
+
## Model Details
|
| 15 |
+
- **Algorithm:** Support Vector Regression (SVR) with RBF Kernel
|
| 16 |
+
- **Features (Input Sequence Length):** 60 days
|
| 17 |
+
- **Target:** Single-step prediction (the price of day $T+1$)
|
| 18 |
+
- **Training Period:** 2020-11-24 to 2025-11-23
|
| 19 |
+
|
| 20 |
+
## Inference
|
| 21 |
+
To use this model, you must provide a sequence of the last **60** scaled closing prices.
|
| 22 |
+
|
| 23 |
+
1. Load the `svr_model.joblib` and `minmax_scaler.joblib`.
|
| 24 |
+
2. Scale your 60-day input sequence using the loaded `MinMaxScaler`.
|
| 25 |
+
3. Run the prediction.
|
| 26 |
+
4. Inverse transform the prediction using the loaded `MinMaxScaler` to get the final dollar value.
|
| 27 |
+
|