The Spanish government is contemplating an expansion of its renewable energy sources to meet the increasing demands of the country’s electricity infrastructure. Electricity, as an essential amenity, is pivotal for fostering a meaningful standard of living and enhancing business growth. This project explores the shortfall between energy generated through fossil fuels and diverse renewable sources in Spain. The research aims to yield actionable, data-driven insights empowering the government to plan and manage energy supply efficiently. This, in turn, ensures a reliable and sustainable energy infrastructure while curbing carbon emissions.
The project’s overarching objective is to train and deploy a regression model addressing a critical issue in Spain’s energy sector. By predicting the shortfall between energy generated from fossil fuels and renewable sources, the model facilitates effective planning for Spain’s transition to renewable energy. This ensures a reliable and sustainable energy supply while mitigating carbon emissions from non-renewable sources.
We developed a robust regression model capable of predicting the shortfall between energy generated by fossil fuels and renewable sources. We trained the model leveraging supervised machine learning techniques, including linear regression, random forests, decision trees, and LGBM. Following a meticulous evaluation using root mean square error (RMSE) as the metric, the LGBM emerged as the best-performing model and was subsequently adopted and deployed. Furthermore, the model excelled in a Kaggle competition, securing the first position.
As the technical lead for the project, here is a high-level overview of my contribution:
Among the regression models trained, including Linear Regression, Decision Trees, Light GBM (LGBM), Random Forest, and Support Vector Machine, LGBM gave the best RMSE score.
Through comprehensive data exploration and analysis, some of the hidden patterns emerged:
To enhance renewable energy production in Spain, we propose the following recommendations:
My Shout out goes to my team members for their contributions:
Ready to unlock the full potential of your data? I’m excited to collaborate and help your business thrive through data-driven insights. Get in touch!