Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

jonniebrown/Tanzanian-Water-Source-Classification

Domain:

environment and energy

Record type:

project
Creator:
jon
Host:
A comparison of classification models that predict if a water point in Tanzania is functional or needs repair. # Tanzanian Water Source Classification ## Overview Please, check out the Notebook for an in depth description and review of my work. Here are the presentation slides. According to water.org, of the 59 million people in Tanzania, 16 million of them or 28% of the population do not have easy access to clean water. By looking at data provided by Taarifa and the Tanzanian Ministry of Water, we can see what is working and what is not working to predict whether a given water point will be functional or if it will need repair based on several factors. With this information, we can decide how and where to establish new water points. ## Business and Data Understanding The intended **stakeholders** are a board of directors for an NGO that is looking for help in figuring out where and how to help with the water crisis in Tanzania. The **goal** is to build a classifier in order to make a prediction of the operating condition of a water point in Tanzania for each record in the dataset. The **implications** of this project could mean several people having access to clean water. The data comes from Taarifa and the Tanzanian Ministry of Water. The dataset can be found here. The original dataset has 3 classes: “Functional”, “Functional Needs Repair”, and “Non Functional”. I engineered it to have 2 classes by combining “Functional Needs Repair” with “Non Functional” to end up with “Functional” and “Needs Repair”. ## Modeling After cleaning the data, I started with a Dummy Model to have something I could compare my models to. Its accuracy was 55% I first tried a logistic regression model and tweaked it with some hyperparameters using gridsearch. Then I used a decision tree classifier which gave me a better score and tried tweaking that with gridsearch, too. ## Evaluation The tweaked logistic regression model gave me an accuracy score of 73% and a recall score of 61% which is much better than the dummy model. I wanted to use the recall score because it takes into account …

Visit

github.com

Tasks

text classification

Similar

jianninapinto/tanzanian-water-pumpsgregorymikuro/Tanzanian-Water-Wellsaurelephy/Tanzanian-Water-Wellsstogaja/Tanzanian-Water-Projectwachekeg/Tanzanian-Water-Wellstcskowronek/tanzanian-water-pumps

jianninapinto/tanzanian-water-pumps

Used supervised machine learning classification algorithms such as Decision Tree and Random Forest t

gregorymikuro/Tanzanian-Water-Wells

This project leverages machine learning models and data analysis techniques to predict the functiona

aurelephy/Tanzanian-Water-Wells

Tanzania, as a developing country, struggles with providing clean water to its population of over 57

stogaja/Tanzanian-Water-Project

Data Science Project to predict the state of pumps in Tanzania. Data Mining the water table # Tanza

wachekeg/Tanzanian-Water-Wells

This repository contains a project whose goal is to predict the operating condition of a waterpoint

tcskowronek/tanzanian-water-pumps

Data mining the water table: Predicting the operating condition of a water points in Tanzania # Pre