ML competitions.
Real clients. Real constraints.

Filter by company to explore the full portfolio.

Image Classification Pipeline with Multi-Stage LLM

Intelligent filtering and classification for telecom infrastructure imagery. Multi-stage pipeline: utility detection → photo/plan segmentation → infrastructure type identification. Custom LLM prompts, base64 encoding, BigQuery integration, confidence scoring and automated routing.

Sofrecom · OrangeLLM · GPT-4BigQueryProduction

Semi-Automatic Forecasting Framework

Weekly multi-horizon forecasting for 4 KPI targets across thousands of IDs. Semi-automatic pipeline: Step 0 meta-search → lag search → feature selection → hyperparameter tuning. Multi-seed robustness, dead-ID routing, BigQuery integration, rolling backtest.

Sofrecom · Orange4 targets52-week horizonGCP · BigQuery

PDF Audit Information Extraction with LLM

Automated extraction system for audit reports using GPT-4. Multi-page PDF processing with image conversion, Pydantic data validation, modular Python architecture, automated JSON output generation.

Sofrecom · OrangeGPT-4PydanticPDF Processing

FTTH Access Orders Forecast

12-month forecast (weekly/monthly) for global, departmental, and offer-specific dimensions. Limited historical data. Achieved ~5% RMSE through ensemble modeling using R's feasts and fable. Migrated to Dataiku production.

Sofrecom · Orange~5% RMSEDataikuR · fable

Co-Financing Prediction Model (Dataiku Migration)

Converted Python scripts to production-grade Dataiku workflows. Prioritized SQL and native Dataiku components. Validated MLForecast function effectiveness, tested additional predictive variables, confirmed solution robustness.

Sofrecom · OrangeDataikuSQLProduction Migration

Customer Segmentation

K-means behavioral segmentation from Analytics Base Table built from multiple data sources. Two phases: unsupervised clustering to discover segments, then supervised classification to assign new customers. Delivered actionable insights for CVM strategy.

Tunisia TelecomCVM OperationsProduction deployedSAS · K-means · Ward · Decision Tree

Multi-SIM User Detection

The hardest part was building the label — no reliable ground truth existed. Built the target from scratch: behavioral hypotheses → unsupervised discovery → cluster profiling → rule extraction → supervised monthly scoring system.

Tunisia TelecomProduction deployed4 data domains fusedSAS · R · K-means · Decision Tree

Family & Community Detection

Detected household-level ties inside broader telecom communication communities. Used ranked contact behavior, shared cell-tower usage, and graph partitioning to distinguish households from extended social circles.

Tunisia TelecomGraph AnalysisCommunity DetectionSAS · R

SQL Ad-hoc Requests & Dashboard Development

CVM performance dashboards, network quality KPIs, data service penetration, customer segmentation profiles, sales analytics and market growth monitoring. VBA automation for PowerPoint reporting.

Tunisia TelecomSQL · SASVBADashboards

COVID-19 Global Spread Prediction

Trajectory-aware pipeline forecasting cumulative COVID-19 deaths for ~180 countries. Classifies each country by trajectory (UP, DOWN, NEAR_ZERO, REST), routes to matched forecasting strategy. Ranked 4th — only 47 succeeded among 884.

Zindi · Apr 2020🏆 Rank 4 / 884Time SeriesETS · ARIMA · TBATS

STEG Fraud Detection in Electricity & Gas

Detecting fraudulent meter manipulation for Tunisian utility STEG (200M Dinars lost). 15 years of billing history, 5.6% positive rate. Stochastic feature selection across 100 LightGBM iterations, 14-model diversity ensemble. Ranked 6th / 191.

AI Hack Tunisia · Sep 2019🏆 Rank 6 / 191FraudLightGBM · XGBoost · CatBoost

Uber Cape Town Road Incidents

Predict when and where road incidents will occur next in Cape Town. Top 11%, 13th position — only 113 succeeded to submit among 711 competitors.

Zindi · Jan 2020🏆 Top 11%GeospatialClassification
🔗 View on GitHub →

Financial Inclusion in Africa

Predict which individuals are most likely to have or use a bank account. Top 13% — 678 submitted out of 1288.

Zindi · Aug 2019Top 13%ClassificationTabular ML
🔗 View on GitHub →

Kenya Maize Price Forecasting (agriBORA)

Weekly wholesale maize price prediction for 5 Kenya counties, 2 weeks ahead. Ensemble of LightGBM, XGBoost, ARIMA, ETS and Prophet.

ZindiForecastingLightGBM · Prophet · ARIMA5 Counties

IEEE Customer Support Escalation

Predicted support ticket escalation before it occurs using structural features: response latency, re-open rate, message length progression. Structural signals outperformed raw text sentiment.

IEEE · Oct 2020NLPStructural FeaturesEarly Warning
🔗 View on GitHub →

Nairobi Ambulance Response Time

Predicted ambulance response times using geospatial features, dispatch queue signals, and temporal patterns. True bottleneck was pre-dispatch wait, not road distance.

Zindi · Jan 2021HealthcareGeospatialTop 31%
🔗 View on GitHub →

Sendy Logistics ETA Prediction

Predict the estimated time of arrival for motorbike deliveries in Nairobi. Top 26% — 431 submitted out of 1143.

Zindi · Nov 2019Top 26%LogisticsRegression
🔗 View on GitHub →

Sea Turtle Rescue Forecast

Forecast weekly sea turtle rescues for Local Ocean Conservation in Kenya. Seasonal pattern extraction, weather and oceanographic feature engineering.

Zindi · Mar 2020EnvironmentalForecastingSeasonal Patterns
🔗 View on GitHub →

Mental Health NLP (Basic Needs Kenya)

Classify text from university students towards a mental health chatbot. Top 36% — 492 submitted out of 900.

Zindi · Jul 2020NLPMental HealthTop 36%
🔗 View on GitHub →

Akeed Restaurant Rating Prediction

Multi-modal prediction combining tabular features with Arabic and English NLP signals. Custom feature engineering for order patterns, menu diversity, behavioral recency.

Zindi · Aug 2020Arabic NLPRecommendationTop 45%
🔗 View on GitHub →

AIML 5G Energy Consumption Modelling

Model energy consumption for 5G network infrastructure. Feature engineering on network configuration and usage patterns.

Zindi5G · TelecomRegressionEnergy
🔗 View on GitHub →

Female-Headed Households in South Africa

Predict rate of households below a certain wage at each ward in South Africa. Top 38% — 258 submitted out of 498.

Zindi · Feb 2020SocioeconomicRegressionTop 38%
🔗 View on GitHub →

Wazihub Soil Moisture Prediction

Predict soil humidity in 5-minute increments using sensor data from low-cost DIY IoT devices. Top 37%.

Zindi · Oct 2019IoT · SensorsRegressionTop 37%
🔗 View on GitHub →

UNICEF Flood Prediction in Malawi

Predict flood extent caused by storms in southern Malawi. Geospatial features, environmental data.

Zindi · May 2020EnvironmentalGeospatialTop 53%
🔗 View on GitHub →

DataDrive2030 Early Learning Predictors

Predict early childhood development outcomes from survey and socio-demographic data.

ZindiEducationClassification
🔗 View on GitHub →

Zindi New User Engagement Prediction

Predict engagement patterns of new users on the Zindi platform.

ZindiEngagementClassification
🔗 View on GitHub →

Startup Survival & Series A Prediction

Predictive models for the VC industry: startup lifetime prediction, Series A funding probability, pre-valuation estimation. Built entirely in R.

Kiota IntelligenceVC IndustryRPrediction

Investor-Startup Matching Algorithm

Created a matching system to select the right investors for a particular entrepreneur based on different filters. Hypothesis testing for funding round variations.

Kiota IntelligenceMatchingRFiltering

Shiny Dashboard & Interactive Analytics

Built Shiny dashboard for funding visualization, dynamic filtering tools, multidimensional outlier detection, temporal clustering analysis. Automated RMarkdown reports with CSS styling.

Kiota IntelligenceR · ShinyReportingOutlier Detection

NLP Text Classification System

Developed scalable text classification model with automated category prediction pipeline. Framework for handling future data classification.

Freelance · 2019NLPRClassification

IoT Sensor Vehicle Weight Estimation

From very sensitive sensors (millisecond-level data), predict the correct weight or reduce maximum error between real value and predicted one. High-precision regression from IoT data.

Freelance · 2019IoT · SensorsRRegression

Machine Learning Training Development

Designed comprehensive ML curriculum and hands-on labs: Linear/Logistic Regression, SVM, Decision Trees, K-means. Python notebooks covering supervised and unsupervised learning.

Freelance · 2020TeachingPythonML Labs

Social Media Analytics Platform

Facebook API integration for metrics collection. Sentiment analysis on user comments. Actionable insights for social media strategy.

Freelance · 2019NLPFacebook APISentiment

Automatic Home Security Management (LAAS-CNRS)

Developed behavioral pattern recognition for homeowner identification, real-time intrusion detection, automated alarm management system. Smartfox Project with MyFox. Published research book (EUE).

LAAS-CNRS · Toulouse · 2015ResearchPattern RecognitionReal-Time
Full Portfolio on GitHub →
Projects, Mahmoud Trigui

ML competitions.
Real clients. Real constraints.

Filter by type to explore the full portfolio.

Semi-Automatic Forecasting Framework

Weekly multi-horizon forecasting for 4 KPI targets across thousands of IDs. Semi-automatic pipeline: Step 0 meta-search → lag search → feature selection → hyperparameter tuning. Multi-seed robustness, dead-ID routing, BigQuery integration, rolling backtest.

Telecom · Orange4 targets52-week horizonGCP · BigQuery
🔗 View on GitHub →

FTTH Access Orders Forecast

12-month forecast (weekly/monthly) for global, departmental, and offer-specific dimensions. Limited historical data. Achieved ~5% RMSE through ensemble modeling using R's feasts and fable. Migrated to Dataiku production.

Telecom · Orange~5% RMSEDataikuR · fable
🔗 View on GitHub →

COVID-19 Global Spread Prediction

Trajectory-aware pipeline forecasting cumulative COVID-19 deaths for ~180 countries. Classifies each country by trajectory (UP, DOWN, NEAR_ZERO, REST), then routes to a matched forecasting strategy. Spike smoothing, validation-based model selection, conservative treatment for decelerating countries. Ranked 4th, only 47 succeeded to submit among 884 competitors.

Zindi · Apr 2020🏆 Rank 4 / 884Time SeriesETS · ARIMA · TBATS

Sea Turtle Rescue Forecast

Forecast the number of sea turtles Local Ocean Conservation will rescue each week in Kenya. Seasonal pattern extraction, weather and oceanographic feature engineering.

Zindi · Mar 2020EnvironmentalSeasonal Patterns
🔗 View on GitHub →

Kenya Maize Price Forecasting, agriBORA

Weekly wholesale maize price prediction for 5 Kenya counties (Kiambu, Kirinyaga, Mombasa, Nairobi, Uasin-Gishu), 2 weeks ahead. Pipeline: feature engineering with lags, rolling stats, seasonality and momentum; multicollinearity removal; ensemble of LightGBM, XGBoost, ARIMA, ETS and Prophet. Zindi competition, agriBORA x KAMIS.

ZindiForecastingLightGBM · Prophet · ARIMA5 Counties

STEG Fraud Detection in Electricity & Gas

Detecting fraudulent meter manipulation for Tunisian utility STEG (200M Dinars lost). Given 15 years of billing history, predict fraudulent clients at 5.6% positive rate. Key innovations: stochastic feature selection across 100 LightGBM iterations and a 14-model diversity ensemble with an elastic net meta-learner. 20 continuous hours. Ranked 6th, only 54 succeeded to submit among 191 competitors.

AI Hack Tunisia · Sep 2019🏆 Rank 6 / 191FraudLightGBM · XGBoost · CatBoost

Nairobi Ambulance Response Time

Predicted ambulance response times using geospatial features, dispatch queue signals, and temporal patterns. Identified that the true bottleneck was pre-dispatch wait, not road distance. Top 31%, 331 submitted out of 1003.

Zindi · Jan 2021HealthcareGeospatialTop 31%
🔗 View on GitHub →

Financial Inclusion in Africa

Predict which individuals are most likely to have or use a bank account. Top 13%, 678 submitted out of 1288.

Zindi · Aug 2019Top 13%Classification
🔗 View on GitHub →

Female-Headed Households in South Africa

Predict rate of households below a certain wage at each ward in South Africa. Top 38%, 258 submitted out of 498.

Zindi · Feb 2020Top 38%Socioeconomic
🔗 View on GitHub →

South African COVID-19 Vulnerability Map

Infer important COVID-19 public health risk factors from outdated data. Top 52%, 95 submitted out of 259.

Zindi · Mar 2020HealthcareRisk Modeling
🔗 View on GitHub →

Uber Cape Town Road Incidents

Predict when and where road incidents will occur next in Cape Town. Top 11%, 13th position, only 113 succeeded to submit among 711 competitors.

Zindi · Jan 2020🏆 Top 11%Geospatial
🔗 View on GitHub →

Sendy Logistics ETA Prediction

Predict the estimated time of arrival (ETA) for motorbike deliveries in Nairobi. Top 26%, 431 submitted out of 1143.

Zindi · Nov 2019Top 26%Logistics
🔗 View on GitHub →

Wazihub Soil Moisture Prediction

Predict soil humidity in 5-minute increments using sensor data from low-cost DIY IoT devices. Top 37%, 96 submitted out of 700.

Zindi · Oct 2019IoT · SensorsTop 37%
🔗 View on GitHub →

UNICEF Flood Prediction in Malawi

Predict flood extent caused by storms in southern Malawi. Top 53%, 477 submitted out of 1633.

Zindi · May 2020EnvironmentalGeospatial
🔗 View on GitHub →

IEEE Customer Support Escalation

Predicted support ticket escalation before it occurs using structural features: response latency, re-open rate, message length progression. Structural signals outperformed raw text sentiment by a wide margin.

IEEE · Oct 2020NLPStructural Features
🔗 View on GitHub →

Basic Needs Basic Rights Kenya, Mental Health NLP

Classify text from university students in Kenya towards a mental health chatbot. Top 36%, 492 submitted out of 900.

Zindi · Jul 2020NLPMental HealthTop 36%
🔗 View on GitHub →

Akeed Restaurant Rating Prediction

Multi-modal prediction combining tabular restaurant features with NLP signals from Arabic and English reviews. Custom feature engineering for order patterns, menu diversity, and behavioral recency signals. Top 45%, 242 submitted out of 1249.

Zindi · Aug 2020Arabic NLPMulti-modalTop 45%
🔗 View on GitHub →

Customer Segmentation, Tunisia Telecom

K-means behavioral segmentation from Analytics Base Table built from multiple data sources. Delivered actionable customer insights for CVM strategy. Implemented automated classification system for new customer assignment. The hardest decision was not the clustering method — it was defining what one row should represent.

Tunisia TelecomCVM OperationsProduction deployedSAS · K-means · Ward

Multi-SIM User Detection, Tunisia Telecom

The hardest part was not the model — it was building the label. No reliable ground truth existed. Built the target from scratch: behavioral hypotheses → unsupervised discovery → cluster profiling → rule extraction → supervised monthly scoring system.

Tunisia TelecomProduction deployed4 data domains fusedSAS · R · K-means · Decision Tree

Family & Community Detection, Tunisia Telecom

Detected household-level ties inside broader telecom communication communities. Used ranked contact behavior, shared cell-tower usage, and graph partitioning to distinguish households from extended social circles. Delivered profiles for targeted CVM campaigns.

Tunisia TelecomGraph AnalysisCommunity DetectionSAS · R

Startup Survival & Funding Prediction (Kiota)

Startup survival prediction, Series A funding probability estimation, pre-valuation modeling, and investor-startup matching algorithm. Built entirely in R with Shiny dashboards and automated RMarkdown reporting.

Kiota IntelligenceVC IndustryR · Shiny
🔗 View on GitHub →
Full Portfolio on GitHub →