/Team-Mayo-UN-Youth-Hackathon-2022-Submission

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.

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

๐Ÿ†๐Ÿ… UN Youth Hacakthon 2022 Submission ๐Ÿคพโ€โ™‚๏ธ

by Team Mayo ๐Ÿ‡ฎ๐Ÿ‡ฉ


Star Badge Linktree


๐Ÿ‘ฅ Team Members

๐Ÿ“ƒ Table of Contents:

๐Ÿ–‹ About Repository:

๐Ÿ‘‰ 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.

๐Ÿง Project Background

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.

๐Ÿ“„ Datasets

  • Food Prices data for Malawi
  • Malawi Integrated Household Panel Survey 2010 2013 2016 2019 (Long Term Panel, 102 EAs) from World Bank Microdata Library

๐Ÿ‘€ Model Results

๐Ÿ‘‰ 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.

โ–ถ Summary of Gaussian Naive Bayes

  • 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.

โ–ถ Summary of XGBoost

  • 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


๐Ÿ™Œ Support Us!

๐Ÿ‘‰ If you find this project useful please โญ this repository ๐Ÿ˜†!