Tabular Regression
Scikit-learn
English
solar-energy
time-series
regression
random-forest
energy-forecasting
photovoltaic
Instructions to use nakedved/genai-capstone with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use nakedved/genai-capstone with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("nakedved/genai-capstone", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Add model card
Browse files
README.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- sklearn
|
| 5 |
+
- solar-energy
|
| 6 |
+
- time-series
|
| 7 |
+
- regression
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Solar Power Forecast Model
|
| 11 |
+
|
| 12 |
+
RandomForestRegressor trained to predict plant-level DC power output
|
| 13 |
+
15 minutes ahead using weather sensor data and lag features.
|
| 14 |
+
|
| 15 |
+
**Dataset**: Kaggle Solar Power Generation Data (Plant 1, 34 days, 15-min intervals)
|
| 16 |
+
**Features**: irradiation, ambient temp, module temp, hour, day_of_year, month, lag_1, lag_4, rolling_mean_4
|
| 17 |
+
**R² (daytime)**: 0.9905
|
| 18 |
+
**R² (full dataset)**: 0.9323
|
| 19 |
+
|
| 20 |
+
## Usage
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
import joblib
|
| 24 |
+
from huggingface_hub import hf_hub_download
|
| 25 |
+
|
| 26 |
+
path = hf_hub_download(repo_id="nakedved/genai-capstone", filename="solar_forecast_model.pkl")
|
| 27 |
+
model = joblib.load(path)
|
| 28 |
+
```
|