MSc Data Science, UWE Bristol

Forecasting, market data and software.

I am Karan. I forecast GB electricity balancing costs, build market tools such as an order book simulator, and write the software a structural engineering firm runs on.

  • First in classBSc Computer Engineering, GPA 18.87 out of 20
  • PlacementAutomation and Software Developer, Goss & Parker Structural
  • January 2027MSc dissertation due, GB balancing costs
  • BristolSeeking sponsored graduate roles in energy markets, finance and data

Turning a manual booking process into one joined-up system

At Goss & Parker Structural, I design and maintain the software behind site-visit bookings. It connects the public booking flow, staff decisions, calendars and client communication while keeping people in control.

  • Fewer booking conflictsAvailability and assignment rules are checked before a visit is confirmed.
  • One source of schedule truthShared and engineer calendars stay aligned when bookings change.
  • Less repetitive adminConfirmations, updates and reminders are prepared from the same booking record.
  • Human-reviewed releasesStaff test real workflows and retain control over operational decisions.

Client records, private rules and source code are not published.

Projects

Seven public projects, each with source on GitHub. Dates update automatically.

Energy markets

GB forecasting paper reproductions

I rebuilt three published studies on GB balancing-market forecasting using real Elexon data. Only one result matched its paper. The others came out worse, and each write-up says why.

  • Python
  • Elexon BMRS
  • Rolling evaluation

Public repository

The outcome

Lucas (2020): MAE matched the paper on its own windowDeng (2023): reproduced error was worse than reportedBunn/Ganesh: worse; only 2 of 7 to 8 variables recovered1 of 3 reproductions matched its published result

Energy markets

GB balancing market data client

Typed Python clients for Elexon BMRS, NESO and Carbon Intensity. Raises an error on the three BMRS endpoints that ignore historical date parameters, instead of returning misdated data.

  • Python
  • Elexon BMRS
  • NESO

Public repository

Built for reuse

Typed clients for BMRS, NESO and Carbon IntensityLive-only endpoints fail loudly instead of lyingMocked HTTP tests with no network callsUsed by the dissertation and paper reproductions

Finance systems

C++ order book simulator

A limit order book that matches orders the way an exchange does: best price first, then first come, first served. Built to learn market microstructure from the inside.

  • C++
  • Build and test tooling
  • Benchmarks

Public repository

What it handles

Limit and market ordersPartial fills and cancellationPrice-time priorityMillions of synthetic events per second on one laptop

Applied machine learning

Home retrofit potential

Models UK Energy Performance Certificate data to identify homes with higher retrofit potential, using nested cross-validation rather than a single favourable split.

  • Python
  • XGBoost
  • Nested validation

Public repository

Research discipline

Open national housing dataSeveral model familiesNested cross-validationInterpretable feature analysis

Big data

Crime and deprivation across England

A Spark pipeline joins 17.8 million police records to the deprivation index for each small area and stores the result in MongoDB. Crime rates fall at every deprivation step. Greater Manchester turned out to be missing from the data, not low.

  • Python
  • Apache Spark
  • MongoDB

Public repository

Bar chart of average crimes per 1,000 residents by IoD 2025 deprivation decile, falling from 540 in decile 1 to 113 in decile 10
540 to 113 crimes per 1,000 residents across the ten deciles

Other software

Speech-to-text model evaluation

A reproducible comparison of Faster Whisper models across word error rate, character error rate and latency, with an interactive results app.

  • Python
  • Faster Whisper
  • Streamlit

Public repository

Compared

Model size and decoding settingsAccuracy and latency togetherRepeatable evaluation dataInteractive result inspection

Data analysis

Retail sales KPI analysis

Cleaning, data-quality checks and KPI reporting over about 500,000 retail transactions, with a dashboard.

  • Python
  • pandas
  • MySQL
  • Streamlit

Public repository

What it covers

Cleaning and quality checksKPI reportingMySQL storageDashboard

What I use, and where I have used it

Every skill here links to work you can inspect.

Forecasting and machine learning

Time-series forecasting with honest evaluation: baselines first, saved forecasts, fixed tests.

  • Python
  • scikit-learn
  • XGBoost
  • Ridge regression
  • Nested cross-validation
  • Diebold-Mariano test

Used in the dissertation and home retrofit analysis.

Software and systems

Tested software with clear limits, from a C++ matching engine to workflow tools used by staff.

  • C++20
  • CMake and CTest
  • Typed Python
  • Streamlit
  • HTML, CSS and JavaScript

Used in the order book simulator and my placement.

Evaluation and reproducibility

Rebuilding published results, reporting what failed, and keeping the method fixed before scoring.

  • Rolling evaluation
  • Replication
  • Mocked tests
  • Written limits

Used in the paper reproductions and the data client.

Forecasting the cost of balancing the GB grid

Energy markets

GB balancing cost forecasting

My dissertation forecasts the official daily cost of balancing the GB grid one day ahead, using only data published before the delivery day. Results stay private until it is assessed.

  • Python
  • Ridge regression
  • Diebold-Mariano test

The method

One-day-ahead forecast of the official NESO daily balancing costRidge is the main model; gradient boosting is secondary onlyForecasts are time-stamped and saved before delivery dayFixed-b Diebold-Mariano tests, set before any scoring
Karan Homayounfar
MSc Data Science, UWE Bristol

Where I studied

  • MSc Data Science, UWE BristolIn progress. Dissertation due January 2027.
  • BSc Computer EngineeringFirst in class, GPA 18.87 out of 20.

I am looking for sponsored graduate roles in energy markets, finance and data.

Read my story

Have a role or an interesting problem?

[email protected]
GitHubLinkedIn