by Team Mayo ๐ฎ๐ฉ
๐ This repository is the Mayo team's submission of answers for the UN Youth Hackathon 2022. This repository includes Jupyter notebooks, presentation files, and raw & cleaned datasets. The topic is the rise of food & energy prices that affect poverty and hunger in Malawi.
Malawi is one of the world's least developed countries and is ranked 174 out of 189 countries according to the 2020 Human Development Index. It has about 16 million people, 53% living under the national poverty line and 90% living on less than $2 per day. Some of Malawi's main challenges are low economic growth and also commodity price increase. The increase in food prices and energy prices will determine Malawiโs food insecurities and livelihood. This project hopes to help alleviate some of Malawi's challenges, by classifying and ranking Malawi's cities based on their food insecurity level, in hope that government can prioritize the city with the most severe food insecurity level.
- Food Prices data for Malawi
- Malawi Integrated Household Panel Survey 2010 2013 2016 2019 (Long Term Panel, 102 EAs) from World Bank Microdata Library
๐ After going through the data preprocessing, EDA, and feature selection, the cleaned dataset will be entered into two machine learning models, which are gaussian naive Bayes and XGBoost.
- GaussianNB model has a recall of 0.796 and precision of 0.583 for the food insecure class. This means out of the 1448 food insecure households, the model have predicted 79.6% of them as food insecure ; and out of the 1977 households predicted as insecure, 58.3% of the households are truly food insecure.
- The ROC AUC for food insecure class is 0.71 which means the diagnostic ability of the model is acceptable.
- XGBoost model has a recall of 0.694 and precision of 0.585 for the food insecure class. This means out of the 1448 food insecure households, the model have predicted 69.4% of them as food insecure; and out of the 1719 households predicted as insecure, 58.5% of the households are truly food insecure.
- The ROC AUC for food insecure class is 0.69 which means the diagnostic ability of the model is acceptable.
Food Insecurity Ranking from Two Models
๐ If you find this project useful please โญ this repository ๐!