Projects

HoverTap a slab to open it

01 / 03 · 2026 · Machine learning

H&M Recommender

Predicts which items each H&M customer will buy next week. Image embeddings find candidates from 105k articles, then a PyTorch ranker picks the top 12.

  • PyTorch
  • FashionSigLIP
  • pandas
View on GitHub
3.0× better than the popularity baseline on a held-out week of 68,984 customers
  1. 31.8M purchases
  2. ~150 candidates
  3. 15 features
  4. MLP ranker
  5. Top 12
02 / 03 · 2026 · LLM agent · Proof of concept

Email Classifier

An LLM agent that reads a freight forwarder's inbound emails and flags new shipment orders from just the subject, sender and attachment names. Every call is logged to SQLite, so each decision can be traced.

  • Python
  • Claude Haiku
  • JSON schema
  • SQLite
  • Evals
Ask me for a demo
Email Classification Agent
Email Classification Agent demo: a freight pre-alert email flows through Email (4 files), AI agent (order), Confidence (97%), Route (extraction) and Eval (correct), with the model's JSON input and output. Header stats: 100% accuracy versus 81% for a keyword rule, $0.00013 per email, 1.3 s average.
Proof of concept on a synthetic inbox built to resemble a real forwarder's; the 32 labelled emails are the development set. The full-email second pass is built but never triggered: every email scored 90% confidence or higher.
03 / 03 · 2026 · AI pipeline · Proof of concept

Document Extraction

Reads a freight forwarder's shipment emails and documents, including scans read by both OCR and AI vision, and fills 31 shipment fields. Every value must appear word for word in its source, and disagreements go to a person instead of the system.

  • Python
  • Claude Haiku (text + vision)
  • RapidOCR
  • pdfplumber
  • SQLite
  • d3.js
Explore the eval dashboard
Eval dashboard · Fields
Sankey chart of all 580 fields across 20 orders, flowing from how the merge decided them (sources agree 254, one source 243, flagged for a person 29, not found 54) to the answer-key result (exactly right 436, right with extra words 54, wrong 7, person shown the right value 28, person must check the document 1, correctly empty 26, missed 28).
Proof of concept on a synthetic dataset of 20 orders (580 fields, 97 AI calls, $0.076 in total). Of the 497 values it would send: 87.7% exactly right, 98.6% right counting harmless extra words. The system flags rather than guesses: only 7 of 497 values sent would have been wrong.