Regression

Flight Price Prediction

Personal build, open source2024

A tree-ensemble regressor on messy, real-world pricing features — mostly an exercise in feature engineering, which is where the accuracy actually lives.

1
The problem

Flight prices depend on a tangle of dates, durations, stops, and carriers — none of which arrive in a form a model can use.

2
How it works

The raw fields are engineered into usable features — times decomposed, durations normalised, categoricals encoded — and a Random Forest regressor is fitted and evaluated over them.

3
What it proves

That the win in tabular problems comes from the shape of the features, not the fanciness of the estimator. The same discipline is what makes extraction from intake notes and medical records hold up.

Built with
Modelling
scikit-learnRandom ForestpandasJupyter
Next project

Multi-Tenant RAG API

Losing hours to work an AI system could handle?

Tell me about the process. I'll tell you straight whether it's worth automating — no pitch, no obligation.

Book a call