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.

shadyAI4/UmojaHack-Africa-2022-Beginner-Track

Domain:

environment and energy

Record type:

project
Creator:
sha
Host:
# πŸ† UmojaHack Africa 2022 β€” Beginner Track | Air Quality Fault Detection > **Competition Result: πŸ₯‡ Ranked #17 out of all participants** --- ## πŸ“œ Certificate of Achievement --- ## πŸ“Œ Competition Overview **Event:** UmojaHack Africa 2022 β€” Beginner Track **Challenge:** Air Quality Sensor Fault Detection **Task:** Predict `Offset_fault` β€” a multiclass classification label indicating sensor faults in air quality monitoring devices **Platform:** Zindi Air quality sensors sometimes develop faults due to environmental conditions. The goal of this challenge was to build a machine learning model that could detect the type of offset fault (if any) in PM2.5 sensors based on readings from two sensors alongside temperature and relative humidity data. --- ## πŸ“‚ Repository Structure ``` β”œβ”€β”€ Last_notebook.ipynb # Main competition notebook β”œβ”€β”€ README.md # This file └── certificate.png # Certificate of participation (add yours here) ``` --- ## πŸ” Approach & Methodology ### 1. Exploratory Data Analysis (EDA) - Visualized **missing values** across all columns using horizontal bar charts - Identified significant **outliers** in `Sensor1_PM2.5` and `Sensor2_PM2.5` using box plots - Analyzed **class imbalance** in the target variable `Offset_fault` ### 2. Data Preprocessing - Filled missing values in `Sensor1_PM2.5` and `Sensor2_PM2.5` with a fixed value of `200` (empirically found to work best) - Imputed missing values in `Temperature` and `Relative_Humidity` using the **median** (robust to outliers) - Outliers were intentionally retained as they were deemed informative for fault detection ### 3. Feature Engineering - **Sensor ratio:** `Sensor1_PM2.5 / Sensor2_PM2.5` β€” captures the relative difference between sensors - **Humidity level:** Binned `Relative_Humidity` into `low`, `medium`, and `high` categories - **Datetime features:** Extracted `month` and `hour` from the timestamp - Applied `pd.get_dummies()` for one-hot encoding of categorical …

Visit

github.com

Tasks

text classification

Similar

badreddine124/UmojaHack-Africa-2022-Beginner-Challengebmuv/umojahack-africa-2022-beginner-challengeMdda-X/UmojaHack-Africa-2022-BEGINNER-1st-position-codeCodeKage25/UmojaHack-Air-Quality-Beginner-Competition-2022CalebEmelike/5th-place-for-UmojaHack-3-Hotspots-BEGINNER-by-UmojaHack-AfricaWalidBensefia/UmojaHACK-Africa-2022

badreddine124/UmojaHack-Africa-2022-Beginner-Challenge

developing a multi-class classification model to identify and classify faults according to their cat

bmuv/umojahack-africa-2022-beginner-challenge

AirQo’s air quality sensing network has more than 120 low-cost devices deployed across Uganda; in mo

Mdda-X/UmojaHack-Africa-2022-BEGINNER-1st-position-code

# UmojaHack-Africa-2022-Faulty-Air-Quality-Sensor-Challenge-BEGINNER AirQo’s air quality sensing ne

CodeKage25/UmojaHack-Air-Quality-Beginner-Competition-2022

UmojaHack Africa 2022: Faulty Air Quality Sensor Challenge (BEGINNER) # UmojaHack-Air-Quality-Begin

CalebEmelike/5th-place-for-UmojaHack-3-Hotspots-BEGINNER-by-UmojaHack-Africa

Each year, thousands of fires blaze across the African continent. Some are natural occurrences, part

WalidBensefia/UmojaHACK-Africa-2022

Can you classify if a device is faulty based on its output data?