A web-based machine learning app that predicts photovoltaic (PV) solar energy output using weather features and trained regression models. Ideal for solar engineers, data scientists, and renewable energy analysts.
π Live Demo: (https://predict-energy-aman-007.streamlit.app/) π¦ Built With: Streamlit, scikit-learn, joblib, pandas, XGBoost
- π Predict solar energy output in real-time
- βοΈ Uses weather features like temperature, humidity, wind speed, and irradiation
- π§ Trained ML model using XGBoost for accurate forecasting
- π₯οΈ Deployed as a lightweight web application using Streamlit
Predict_Energy/
β
βββ app.py # Streamlit web application
βββ pv_model.joblib # Pretrained regression model (XGBoost)
βββ requirements.txt # Python dependencies
βββ solarPower_50m.csv # Sample dataset used for training/testing
git clone https://github.com/yourusername/Predict_Energy.git
cd Predict_Energypip install -r requirements.txtstreamlit run app.pyTemperature (Β°C)Humidity (%)Wind Speed (m/s)Solar Irradiance (W/mΒ²)
If you wish to retrain the model:
# Load data
df = pd.read_csv("solarPower_50m.csv")
# Define features/target and train with XGBoost
...Amanpreet Ahluwalia Portfolio | LinkedIn