Other
Flight Passenger-Count Prediction
A demand model predicting booked passengers on one-stop routes from a flight's own characteristics, selected by comparing eleven regression models.
The challenge
Knowing how many passengers a flight will carry sits underneath almost every airline decision: which aircraft to assign, how many seats go to which class, what the price should be. Both directions of a wrong forecast are expensive - a seat flown empty, and demand that couldn't be met.
This forecast has traditionally rested on experience. But on one-stop routes the number of variables goes beyond what anyone holds in their head: carrier, aircraft type, the origin-hub-destination triple, sell and cabin class, departure day and time.
What was needed was a model that weighs those variables together and produces a concrete number per flight.
The approach
I built a regression model predicting passengers per flight on worldwide one-stop booking data.
- I shaped raw operational data for modelling. The data is largely categorical: carrier code, aircraft type, the airport triple, sell and cabin class. These were encoded, and features derived from departure date and time - day of week, month, time band - because demand does not behave the same on a Tuesday morning as a Friday evening.
- I transformed a skewed distribution. Passenger counts are right-skewed: many low values, a few very high ones. A log transform was applied to the target so the model learned the whole distribution rather than being dragged by a handful of large flights.
- Eleven models raced under identical conditions. Linear regression, Ridge, Lasso, ElasticNet, KNN, decision tree, random forest, gradient boosting, XGBoost, LightGBM and CatBoost - all measured by RMSE under 10-fold cross-validation. Model choice rested on results, not preference.
- The winner was tuned. LightGBM, which performed best, was refined through a GridSearch hyperparameter sweep, with final performance re-reported under cross-validation.
The result gives planning teams a numerical demand forecast per flight instead of an experience-based estimate - and, more importantly, makes visible which characteristics actually drive demand.
Stack: Python, pandas, scikit-learn, XGBoost, LightGBM, CatBoost; categorical encoding, date-time feature engineering, log target transform, 10-fold cross-validation, GridSearchCV.
Want similar results for your project?
Every project above started with a conversation. Let's figure out what yours needs.
Keep exploring
More projects.
Rail catenary pole placement automation
Weeks of expert engineering work, reduced to seconds.
D-Risk - MedTech Marketplace with AI Company Profiling
A three-sided marketplace linking medtech startups with investors and specialist freelancers - matched through AI document profiling.
Integrated LoRa Sensor Monitoring & Analytics System
Turning raw LoRa telemetry from tree-mounted sensors into live dashboards that answer watering and growth questions - built in one week.
Revenue Administration MCP Server
An assistant that reads Turkish tax legislation from its official source at the moment you ask and answers with the article behind it - a system a certified acc
Reliability of LLMs in Safety-Critical Requirements Engineering
A controlled experiment measuring what an ungrounded, off-the-shelf chatbot contributes to safety-critical engineering.
DSGENAI - AI Safety Requirements Engineering Platform
Stabilising and modernising an AI-driven safety-requirements platform - Flask to Streamlit, GPT-5.1, and critical data-leak fixes.
Retrieval-Augmented Generation (RAG) Documentation Assistant
A RAG assistant that turns stacks of PDFs into a searchable knowledge base where every answer traces back to the source document.
LLM Prompt Optimization for Legal-Clause Classification
Comparative research that lifted F1 from 0.62 to 0.76 on Terms-of-Service clause classification through automatic prompt optimisation alone - without retraining
Smart Contract Analysis with NLP
An NLP system learns from Siemens' legal team's past contract revisions, flags the same clauses in a new contract, and proposes the edit that was made before.
Football Player Potential Prediction Model
A classification model predicting whether a player will be marked "highlighted" from 39 scout attribute scores - ROC-AUC 0.86 under 10-fold cross-validation.
Football Player Ranking System
A scoring engine that ranks players not by total score, but by how many attributes they exceed the statistical average for their own position.
Football Player Position Recommender System
A recommender that compares a player's attribute profile against the profiles of other positions and finds players could be more valuable in a different role.
Automated Connecting-Flight Optimization
A tool that recalculates every connection possible through the hub - day by day, with passenger volumes - when a single flight's time is shifted.
Turkish Image-Captioning Benchmark on MS COCO 2014
A human-verified Turkish caption dataset covering all of MS COCO, plus five models trained on it - a new reference point for Turkish image captioning.
ESG Diversity & Sentiment Solution - CFA Poland Hackathon
An ESG prototype scoring gender diversity and news sentiment - 2nd place among 44 teams from 28 universities.
Automated ESG Scoring System - HackBogazici
An automated ESG scoring engine built from four scraped data sources - 2nd place among 14 hackathon teams.