Skip to content

Predicting Global Supply Chain Outcomes for Essential HIV Medicines using Machine Learning Techniques. Capstone original project for Udacity Machine Learning Engineer Nanodegree.

Notifications You must be signed in to change notification settings

tichmangono/capstone_project

Repository files navigation

Capstone Project - Udacity Machine Learning Nanodegree Program, 2017

###Predicting Global Supply Chain Outcomes for Essential HIV Medicines using Machine Learning Techniques.

Author: Tichakunda Mangono

Key Question: Can we use procurement transaction data to predict whether a delivery is delayed and estimating the length of the delay Main Data Source: From The Website: https://data.pepfar.net/additionalData. Procurement transaction data from the Supply Chain Management System (SCMS), administered by the United States Agency for International Development (USAID), provides information on health commodities, prices, and delivery destinations.

Project Overview

  • Background: only 19.5M people out of the ~37M people living with HIV are getting the essential medicines they need. Supply of these essential medicines is critical. Recent evidence https://www.devex.com/news/exclusive-documents-reveal-largest-usaid-health-project-in-trouble-90933 suggests that supply chain for major global programs has worsened after recent changes in supply chain managing organizations. See also chart displayed above.

  • Problem Statement: Such significant supply chain delays in delivery of medicines disrupt treatment and can lead to loss of life and ultimately increases supply chain costs. The goal is to machine learning to determine when and which products are likely to be delayed, as well quantify the extent of the delay.

  • Datasets & Inputs: Publicly available supply chain data from US, The President;s Emergency Plan for AIDS Relief (PEPFAR) https://data.pepfar.net/additionalData; Logistics Performance Index data from the World Bank https://lpi.worldbank.org/international/global?sort=asc&order=Infrastructure; Fragile State Index data from Fund for Peace data http://fundforpeace.org/fsi/excel/; and finally Factory location and continent from the googlemaps API: http://maps.googleapis.com/maps/api/geocode/json?

  • Solution Statement: A combined "classification-then-regression" machine learning algorithm where the classification algorithm predicts whether a particular product will be delayed or not and then the regression algorithm will predict the length of delay on the subset of the data which the classification predicts will be delayed. This mimicks a streamlined, prioritized decision process of a supply chain manager.

  • Benchmark Model: Default SciKit-Learn RandomForestClassifier and RandomForestRegressor will be used as benchmarks/baseline. Several models will then be explored to improve over the benchmark including other ensemble and tree-based models, Support-Vector Machines (SVM), XGBoost.

  • Evaluation Metrics: Recall and F1-score will be used for classification while R-squared and RMSE will be used for the regression part of the combined model

Requirements: software and libraries used

  • A python file/module "my_helper_functions.py" is included in this folder with a set of my own helper functions
  • The rest of the libraries can be installed using either anaconda or pip distributions
  • I was running python 3.6.1 on a 64-bit windows system

Install/Download the following libraries and apis

  1. python 3.6.1
  2. my_helper_functions - provided in this folder. This is my own module of helper functions. It will be required to run most of the code
  3. pandas
  4. numpy
  5. matplotlib
  6. seaborn
  7. time
  8. datetime
  9. pandas_profiling
  10. pivottablejs
  11. missingno
  12. os
  13. sklearn
  14. yellowbrick
  15. imblearn
  16. googlemaps

About

Predicting Global Supply Chain Outcomes for Essential HIV Medicines using Machine Learning Techniques. Capstone original project for Udacity Machine Learning Engineer Nanodegree.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published