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.

I-Bovingdon/MachineLearning_Pipeline_WaterInfrastructure_Agentic_EDA

Domain:

environment and energy

Record type:

project
Creator:
I-B
Host:
Predicting water pump status in Tanzania (functional / needs repair / non-functional) for the DrivenData Pump It Up competition. Random Forest → Stacking Ensemble pipeline with feature engineering, class imbalance strategies, and an AI-powered EDA agent built with LangGraph + LangChain. # Machine Learning Pipeline for Water Infrastructure Prediction and Agentic Exploratory Data Analysis using AI A full predictive maintenance pipeline for ~59,000 water pumps in Tanzania (DrivenData's "Pump It Up" competition), combining classic ML (Random Forest, Extra Trees, Gradient Boosting, Stacking Ensembles) with four dedicated strategies for detecting the most operationally critical class — **pumps that need repair** — and two AI-powered interactive tools: an **agentic EDA assistant** (LangGraph + Claude) and a **conversational "Ask the Project" assistant** that lets non-technical stakeholders query the pipeline's results in natural language. --- ## The Real Problem: Catching Pumps Before They Break Down Overall accuracy is a misleading metric here. With three classes — `functional` (54.3%), `non functional` (38.4%) and `functional needs repair` (7.3%) — a model can achieve high accuracy by nearly ignoring the minority class entirely. But that minority class is the most operationally valuable one. **`functional needs repair` pumps are the only ones that can still be saved with a timely intervention.** A pump already labelled `non functional` requires far more expensive remediation or full replacement. Missing a pump that needs repair means it will eventually fail completely — affecting community water access and driving up maintenance costs. The four standard base models only detect between 27% and 31% of `functional needs repair` pumps. That means roughly **7 out of every 10 repairable pumps go undetected**, are classified as functional, and receive no maintenance. This is the problem the full modelling strategy is designed to fix. --- ## The Pipeline in Three Notebooks The project is structured as a three-stage pipeline. Each notebook is self-contained, GitHub-renderable, and hands off its outputs to the next through the `00_artifacts/` folder: ``` ┌──────────────────────────┐ ┌──────────────────────────┐ ┌──────────────────────────┐ │ 01 …

Visit

github.com

Tags

automl-algorithmsclassificationdrivendataensemblegradio-interfacelangchainlanggraphmachine-learning-algorithmspipelinespython+3

Similar

Point estimates and 95% confidence intervals of the conditional probability <i>P</i>(<i>YieldRefl</i> > <i>qu</i><sub><i>YieldRefl</i></sub>|<i>Prec</i> > <i>qu</i><sub><i>Prec</i></sub>), where <i>qu</i><sub><i>YieldRefl</i></sub> is always set as the 90<sup><i>th</i></sup> quantile of the variable <i>YieldRefl</i> and <i>qu</i><sub><i>Prec</i></sub> is the 91<sup><i>st</i></sup> to 99,99<sup><i>th</i></sup> quantile of the conditioning variable <i>Prec</i>.Crown area comparisons, Group A: African <i>H</i>. <i>heidelbergensis</i>, archaic <i>H</i>. <i>sapiens</i>, Aterian.<i>Eutypa</i>, <i>Eutypella</i>, and <i>Cryptovalsa</i> Species (Diatrypaceae) Associated with <i>Prunus</i> Species in South AfricaTwo new <i>Ophiostoma</i> species from <i>Protea</i> <i>caffra</i> in ZambiaTHE SYSTEMATICS AND PHYLOGENY OF THE<i>STENOCHIRONOMUS</i>COMPLEX (<i>XESTOCHIRONOMUS</i>,<i>HARRISIUS</i>, and<i>STENOCHIRONOMUS</i>) (DIPTERA: CHIRONOMIDAE)Co‐infections with <i>Plasmodium</i>,<i> Ascaris</i> and <i>Giardia</i> among Rwandan schoolchildren

Point estimates and 95% confidence intervals of the conditional probability <i>P</i>(<i>YieldRefl</i> > <i>qu</i><sub><i>YieldRefl</i></sub>|<i>Prec</i> > <i>qu</i><sub><i>Prec</i></sub>), where <i>qu</i><sub><i>YieldRefl</i></sub> is always set as the 90<sup><i>th</i></sup> quantile of the variable <i>YieldRefl</i> and <i>qu</i><sub><i>Prec</i></sub> is the 91<sup><i>st</i></sup> to 99,99<sup><i>th</i></sup> quantile of the conditioning variable <i>Prec</i>.

Estimation is done using maize data from 1961 to 2002. In Eastern Africa conditional probabilitie

Crown area comparisons, Group A: African <i>H</i>. <i>heidelbergensis</i>, archaic <i>H</i>. <i>sapiens</i>, Aterian.

Group B: sub-Saharan Middle Stone Age to mid Holocene H. sapiens.

<i>Eutypa</i>, <i>Eutypella</i>, and <i>Cryptovalsa</i> Species (Diatrypaceae) Associated with <i>Prunus</i> Species in South Africa

Stone fruit trees (Prunus spp.) are economically important fruit trees cultivated in South Africa. T

Two new <i>Ophiostoma</i> species from <i>Protea</i> <i>caffra</i> in Zambia

The genus Ophiostoma ( Ophiostomatales ) has a global distribution and species are best known for

THE SYSTEMATICS AND PHYLOGENY OF THE<i>STENOCHIRONOMUS</i>COMPLEX (<i>XESTOCHIRONOMUS</i>,<i>HARRISIUS</i>, and<i>STENOCHIRONOMUS</i>) (DIPTERA: CHIRONOMIDAE)

Abstract The Stenochironomus complex contains all those species which exhibit the highly modified,

Co‐infections with <i>Plasmodium</i>,<i> Ascaris</i> and <i>Giardia</i> among Rwandan schoolchildren

Abstract Objectives Co‐infections with Plasmodium , Ascaris and Giardia are common in sub‐Sa