This repository contains the full machine learning workflow to predict Global Horizontal Irradiance (GHI) using Saudi Arabia’s weather data (2015–2020).
- Train & compare multiple ML models (Linear Regression, RF, XGB, etc.)
- Evaluate with MAE, RMSE, R²
- Export best model for deployment
- Linear Regression ✅
- Random Forest
- XGBoost
- Histogram Gradient Boosting
- Support Vector Regression
- Artificial Neural Networks
- Decision Tree
- KNN
notebooks/: Model training and evaluationmodels/: Saved.pklfilesdataset/: Cleaned sample datasetrequirements.txt: Library dependencies
- Best R²: 0.97 (Linear Regression)
- 21 input features including DHI, DNI, humidity, wind speed
- 10-fold and 43-fold cross-validation
See deployment repo here: (https://solar-radiation-prediction-using-saudi.onrender.com)
🔗 Related Repositories: