Open to remote roles & contract engagements, with freelance services available

محمود الطريقي

Mahmoud Trigui

Senior Data Scientist · Tunisia

10+ years turning structured business data into decisions.
Machine Learning · Forecasting · Predictive Modeling · Feature Engineering · LLM-NLP · Analytics · Statistics
Remote roles from Tunisia; contract work remote or on-site at the client location.
Freelance services in forecasting, analytics, dashboards, automation, and AI/LLM solutions.

10+ Years Experience
24+ Projects Delivered
19 ML Competitions
42 Assessments & Badges
"Torture the data until it confesses."
— Ronald Coase
Scroll
Mahmoud Trigui

Bridging data precision
with business strategy

Data Scientist with over 10 years of experience, blending technical precision with strategic insight. Holding a Statistics and Data Analysis Engineering degree, I have built a career on turning complex, business-driven structured data into decisions that matter, combining deep mathematical foundations with iterative, hands-on exploration.

My passion lies in feature engineering: transforming raw data into high-impact representations that align models closely with real-world objectives. I believe the gap between a good model and a great one is almost always in the features, not the algorithm. I approach every project with a different perspective, asking what the data is really saying before deciding how to model it.

Active in competitive ML (Zindi, IEEE, 19 competitions), continuously testing ideas against real problems across diverse domains. Fluent in both R and Python ecosystems, with production experience on GCP, Dataiku, and BigQuery.

Available for Senior Data Scientist, Machine Learning Engineer, and Applied Data Science roles remotely from Tunisia, and contract engagements either remotely or on-site at the client location. I also offer freelance services in forecasting, analytics, dashboards, automation, and AI/LLM solutions. Experienced working with Sofrecom (Orange Group), Tunisia Telecom, and Kiota Intelligence on production machine learning, forecasting, NLP, LLM integration, telecom analytics, and VC analytics.

🇹🇳 Arabic, Native 🇬🇧 English, C2 Proficient (EFSET 75) 🇫🇷 French, Fluent
📡 Telecom, Mobile Customers 💼 VC & Investments 🌐 Internet Provider, Orange
Tech Stack
R & Statistical ML
RR
TidyverseTidyverse
TidymodelsTidymodels
ShinyShiny
PlumberPlumber
R MarkdownR Markdown
H2OH2O
mlr3mlr3
Python & Data Science
PythonPython
Scikit-LearnScikit-Learn
XGBoostXGBoost
LightGBMLightGBM
MLForecastMLForecast
ProphetProphet
JupyterJupyter
Data & Databases
ToadToad
MySQLMySQL
BigQueryBigQuery
Cloud & Platforms
GCPGCP
DataikuDataiku
SASSAS
LLM & APIs
JSONJSON
PostmanPostman
IBM WatsonIBM Watson
BI & Reporting
Power BIPower BI
LookerLooker
ExcelExcel
Dev Tools
GitGit
VS CodeVS Code
JiraJira

Built on strong foundations

2016

Data Science: Data to Insights

MIT xPRO, Online

Advanced online program from MIT covering the full data science pipeline, from raw data to actionable insights. Reinforced production-oriented thinking and rigorous statistical reasoning.

2015

Engineering Degree, Statistics & Data Analysis

ESSAI, Higher School of Statistics and Data Analysis, Tunisia

Engineering program combining statistics, probability, data mining, machine learning, and applied mathematics. Graduated with a solid foundation in both theory and practice.

2011

Preparatory Institute for Engineering Studies

IPEIS, Mathematics & Physics track, Tunisia

Intensive university-level preparation in Mathematics and Physics, the Tunisian equivalent of the French Classes Préparatoires. This program taught me how to decompose complex problems, think rigorously under pressure, and build the mental frameworks that still shape how I approach data science today.

2008

Baccalauréat, Computer Sciences

15 November High School, Tunisia

Graduated with First Class Honors, the starting point of a journey built on curiosity, precision, and a love for problem-solving.

End-to-end ML expertise

From raw structured data to production-ready models, with business context at every step.

🤖

Predictive Modeling

Full-stack ML pipelines from data cleaning to production evaluation. Deep feature engineering combined with tree models, ensembles, and stacking, with proper validation and business-metric alignment.

#Feature Engineering#Tree Models#Ensembles #Stacking#Clustering#Recommendation System#Fraud
📈

Time Series Forecasting

Multi-horizon forecasts with semi-automatic parameter search, multi-seed robustness, and production-ready pipelines. Weekly, daily, and seasonal patterns across thousands of IDs.

#MLForecast#Deep Forecast#R Forecast#Decomposition
📊

Analytics & Strategy

Translating analytical findings into business decisions. Exploratory analysis, statistical inference, clustering, segmentation, and interactive dashboards from raw operational data.

#SQL#Statistics#Segmentation#CVM#WebApp
🔤

NLP & LLM Integration

Text classification, topic modeling, sentiment analysis, and LLM-augmented pipelines. Multilingual including Arabic. Structural NLP signals often outperform raw text sentiment.

#LDA#Sentiment#LLMs#APIs
Freelance services are available for forecasting, analytics, dashboards, automation, and AI/LLM projects.

Real problems, real constraints

Selected work from competitions and client engagements.

Customer Segmentation, Tunisia Telecom

K-means behavioral segmentation from Analytics Base Table. Two phases: unsupervised clustering to discover segments, then supervised classification to assign new customers. The hardest decision was defining what one row should represent.

Tunisia TelecomCVM OperationsProduction deployedSAS · K-means · Ward
Read full case study → Share on LinkedIn →

FTTH Access Orders Forecast

Delivered a 12-month forecast for fiber access orders across global, departmental and offer dimensions. Ensemble modeling achieved approximately 5% RMSE, with the workflow migrated to Dataiku.

Sofrecom · Orange12-month forecast~5% RMSE Dataiku · R
Read full case study → Share on LinkedIn →

Image Classification Pipeline with Multi-Stage LLM

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

Sofrecom · OrangeLLM · GPT-4BigQueryProduction
Read full case study → Share on LinkedIn →

10 years of DS thinking,
one post at a time

Technical ideas from real projects, not tutorials, not theory. Each post reflects a decision made under real constraints.

Latest in AI & ML

Trends, techniques, and thoughts on the evolving ML landscape — shared on LinkedIn.

Where the data was real

Feb 2024 – Present · Sfax, Tunisia (Hybrid)

Data Scientist, Sofrecom (Orange Group)

Built an MLForecast framework for 12-month and 52-week resource-planning forecasts, a bilingual voice-AI emergency fire-information line, and a multi-stage telecom image-classification pipeline. Developed GPT-4 PDF audit extraction, delivered FTTH access-order forecasts in Dataiku, and migrated a co-financing prediction model into production.

MLForecastGCPBigQueryGPT-4NVIDIA NemotronDataikuPowerBI
Feb 2021 – Jul 2025 · Remote

Data Science Mentor, Codementor

⭐ 5 stars rating from 59 reviews · 94 live sessions and projects. Mentored data scientists across all levels on ML, forecasting, feature engineering, R, and Python.

MentoringRPythonML⭐ 5.0 · 59 reviews
Mar 2021 – Feb 2023 · Spain (Remote)

Data Scientist, Kiota Intelligence (VC Industry)

Built predictive models for the VC industry entirely in R: startup survival prediction, Series A funding probability, pre-valuation modeling, and investor-startup matching. Developed Shiny dashboards, automated RMarkdown reports with CSS styling, and multidimensional outlier detection systems.

RShinyVCNLPPredictionFeature Engineering
2018 – 2021 · Remote

Freelance Data Scientist, Sintegra Labs

Freelance data science missions across multiple client projects. Machine Learning Training Development . NLP Classification System . IoT Sensor Analytics . Social Media Analytics Platform

FreelancePythonRMLNLP
Jan 2018 – Mar 2020 · Tunis, Tunisia

Data Scientist, Tunisia Telecom (CVM & Data Mining)

Customer segmentation using K-means on behavioral data. Multi-SIM user detection with custom scoring algorithm. Family community detection within large networks. Collaborated with SAS, KPMG, and Business&Decision experts on churn, cross-sell, and community link analysis.

SASSQLSegmentationClusteringTelecom
Jun 2016 – Dec 2017 · Tunis, Tunisia

Data Analyst, Tunisia Telecom (CVM & Data Mining)

SQL ad-hoc requests and dashboard development for CVM performance, network quality KPIs, customer segmentation profiles, and sales analytics. Implemented VBA automation for PowerPoint reporting. Designed targeted marketing campaigns and Try & Buy offer frameworks.

SQLSASVBACVMDashboards
Feb 2022 – Dec 2022 · Sfax, Tunisia

Part-time Statistics Lecturer, International School of Business

Taught statistics to first and third-year business students.

StatisticsTeaching
Aug 2019 – Jan 2021 · Remote

Competitive ML, Zindi & IEEE Platforms

19 competitions across healthcare, telecom, environmental, NLP, and financial domains. Notable results: 4th place COVID-19 spread prediction (884 competitors), Top 11% Uber Cape Town road incidents, 6th place AI Hackathon Tunisia 2019 (fraud detection), Top 13% Financial Inclusion in Africa.

ZindiIEEER19 Competitions
Jun 2015 – Dec 2015 · Toulouse, France

Research Statistician, LAAS-CNRS

Developed an automatic home security management system (Smartfox Project with MyFox). Built behavioral pattern recognition for homeowner identification, real-time intrusion detection, and automated alarm management. Published research book "Gestion Automatique d'un Système de Sécurisation des Biens à Domicile" (European University Editions).

ResearchStatisticsPattern RecognitionPublication

The person behind the models

I am a husband and a father of two, a son and a daughter. Family is where I recharge and find perspective. The time spent with them quietly shapes how I think about patience, long-term thinking, and what is truly worth building.

I love to travel and discover new landscapes, different cultures, different ways of seeing the world. Nature, in particular, has a way of resetting the mind. Mountains, coastlines, open skies , every landscape is a reminder that the most interesting patterns are not always in a dataset.

I stay active through walking and swimming, simple habits that keep the mind clear. And at home, our cats are a constant, calming presence that the whole family adores.

I believe that a balanced life makes a better data scientist: curiosity fed by experience, perspective sharpened by the world outside the screen.

👨‍👩‍👧‍👦 Family ✈️ Travel 🌿 Nature 🏊 Swimming 🚶 Walking 🐱 Cats 🌍 Discovery 📖 Reading 📚 Continuous Learning
🧠 Personality Profile, 16Personalities Test
INFJ-A
Assertive Advocate
Role Diplomat
Strategy Confident Individualism
Mind 72% Introverted
Nature 92% Feeling
Tactics 92% Judging

Rare combination of analytical depth and human empathy, which is exactly why I care about the business impact of every model I build.

Personal
Personal
Personal
Zindi Portfolio · ML Competitor

Public Machine Learning (ML) competition portfolio on Zindi, showcasing work across predictive modeling, forecasting, classification, and applied data science challenges.

Mahmoud Trigui Zindi portfolio screenshot showing machine learning competition track record as an ML competitor
Codementor Reviews · Mentoring & Freelance Samples

Samples of Codementor reviews for mentoring and freelance data science help, including R, Python, machine learning, and analytics.

Codementor mentoring review screenshot for Mahmoud Trigui, freelance data science support sample
Codementor review screenshot for Mahmoud Trigui, mentoring in R, Python, and machine learning
Codementor freelance mentoring review screenshot for Mahmoud Trigui, data science and analytics help

Let's work
together

Available for Senior Data Scientist roles remotely from Tunisia, and contract engagements that can be remote or on-site at the client location. I focus on data-rich, business-driven problems and also take on freelance services in forecasting, analytics, dashboards, automation, and AI/LLM solutions.

Open to remote roles & contract engagements, with freelance services available
ForecastingTime SeriesMachine LearningPredictive ModelingFeature EngineeringNLPLLM ApplicationsDocument AICustomer SegmentationTelecom AnalyticsAnomaly DetectionRecommendation SystemsGraph AnalyticsGeospatial AnalyticsStatistical AnalysisExperimentation & A/B TestingPythonRSQLDataikuShiny DashboardsStreamlit AppsData VisualizationProduction MLModel EvaluationDecision SystemsData AutomationBusiness Analytics