Selected projects / Independent work

Projects & writing.

Football, finance, data and the occasional music recommendation. Pick a card and take a look.

CannonIQ artwork
Arsenal · data · economics · opinion

Publication · 500+ subscribers

CannonIQ

An Arsenal publication that started with data-led player analysis and grew into modelling, economics, tactics and long-form writing.

The analysis uses football-data.org, FBREF and reproducible Python workflows. Recent expected points work combines weighted rolling form, Poisson goal models, a Bayesian layer and 10,000-season Monte Carlo simulations. Recruitment pieces use K-means similarity and Random Forest regression, and always spell out the limitations.

Methods
Poisson · Bayesian modelling · Monte Carlo · K-means · Random Forest
Subjects
Expected points · recruitment · tactics · football finance · fan culture
Approach
Explain the maths in plain English, and never present a probability as a certainty.
Read CannonIQ ↗
FactorLens model diagnostics with residual and regression charts
FactorLens · application screenshot

Quantitative finance · Streamlit

FactorLens

A research app for understanding which market factors explain an industry portfolio’s returns.

I used Kenneth French’s monthly factor and industry data to compare exposures, break down returns and check how stable the relationships are over time. Six pages cover risk, regression diagnostics and validation, including chronological holdouts and walk-forward estimates.

Methods
OLS with HAC confidence intervals · rolling exposures · historical VaR and expected shortfall
Scope
This studies return attribution using realised factors; it does not forecast trades.
Built with
Python · pandas · statsmodels · SciPy · Plotly
Open app ↗ View code and setup ↗
Pipeline Watch data-quality checks and rejected-record analytics
Pipeline Watch · application screenshot

Data engineering · Streamlit

Pipeline Watch

A small data warehouse with enough visibility to explain what happened to every batch.

NYC taxi records move through source snapshots, validation, quarantine and deduplication into DuckDB and dbt models. Six pages let you replay a batch, inspect failed checks, trace dependencies, explore the warehouse and run read-only SQL.

Methods
Parquet · SHA-256 source hashes · atomic partition replacement · dbt tests
Scope
The bundled demo uses the first 5,000 rows from each of three months; full monthly files can be downloaded in the app.
Built with
Python · DuckDB · dbt · Parquet · Plotly
Open app ↗ View code and setup ↗
Pitch IQ mark
Learning in public since 2022

Football analytics blog

Pitch IQ

A long-running football data science blog on how data can reveal player roles, performance and positional fit.

It started with one question: can machine learning find a better position for a player? That turned into a practical curriculum in sourcing data, scraping FBREF, working with StatsBomb event data, building repeatable visualisations, clustering player roles and measuring similarity.

Data
FBREF · StatsBomb open data · football-data.org
Techniques
Web scraping · K-means clustering · player similarity · radar charts · event maps
Purpose
Make football analytics approachable without pretending the data is complete.
Visit Pitch IQ ↗
EURO 2024 Streamlit app showing the research overview, training data and opening-match goal probabilities
EURO 2024 · interactive model notes

End-to-end machine learning

EURO 2024 model notes

An eight-page Streamlit app following the original EURO 2024 analysis from source data to a shareable research report.

Separate goal regressors feed Poisson match probabilities and a seeded tournament simulation. Explore the data, rank-weighted features, model comparisons and chronological validation, then review the actual group games or export the findings.

Random Forestscikit-learnPoissonStreamlit
Open app ↗

View the repository ↗

Spotify recommendation project interface
Recommendation systems

Earlier experiment

Spotify Recommendation Engine

A music discovery app that uses Spotify's API and machine learning to turn listening history and audio features into recommendations.

An early end-to-end project in API integration, data preparation, similarity logic and lightweight delivery through Streamlit.

Spotify APIPythonMachine learningStreamlit

Open the app ↗

Contact

Get in touch

For conversations about data, risk modelling or statistics, or anything on this site.

Contact ↗

From CannonIQ

Read something you want to talk about?

Questions about a post, a correction, or an idea for a future piece.

Get in touch ↗