Code for the 2022 Schneider Electric Data Science Hackaton
The EU contributes 18% of total global warming gas emissions; However, it is increasingly determined to take the lead in the fight against climate change. That is why it has set itself the goal of reaching zero carbon emissions by 2050.
To this end, it has put in place a wealth of resources to help achieve this goal over the next few years, and it will need your help to do so.
- Bruno Moya - 56
- Joel Poma - 56
- Marc Alfonso - 56
By Using agressive data cleaning and parsing, with categorization of variables of the dataset, we achieved a 75%+ F1-Score using Random Forest Model.
{'f1_score': 0.7252596753363753, 'precision': 0.7229358290279416, 'recall': 0.7277690113858096, 'accuracy': 0.7025566884796834}
This are the results of our Cross Validation of the Model (F1 Macro Score):
Cross-validation scores: [0.74248753 0.74695766 0.74315829 0.74644212 0.80487625] Average cross-validation score: 0.7567843695113846
These are our ROC Curves and PR Curves:
Run the main.py example and install required libraries with PIP:
pip install -r requirements.txt
python main.py