Reliable ML systems
outside the lab.

I'm Yuhe Lu, a Math & Computing Science student at University of Glasgow.

01

About

I build machine learning systems that are supposed to work in the real world — then I find out where they don't.

I'm Yuhe Lu 陆禹翮, studying Mathematics and Computing Science at the University of Glasgow, graduating in 2027. Most of what's on this page comes out of one habit: build something, then go looking for the conditions under which it stops working.

My clearest example so far is a project segmenting crop residue in field images. The model did well in testing, but accuracy fell on locations it hadn't seen before, and it did worst on the highest-coverage images — a condition the training data barely represented. That failure taught me more about what "reliable" actually requires than any of the cases where the model worked fine.

That's the question I want to keep asking: whether it keeps performing once the conditions around it change. One project isn't enough to answer that yet, but it's the direction I want the rest of this to go.

Temporary portrait placeholder showing a grey-and-white cat.

Education

Expected 2027

University of Glasgow

BSc (Hons) Mathematics and Computing Science

Glasgow, United Kingdom · 2022–2027

Machine Learning Computer Vision Algorithms Networked Systems

02

Selected project

A representative crop-residue segmentation result comparing the original field image, ground-truth mask, U-Net prediction, and false-positive and false-negative error map.

Computer vision · In progress

1. Crop Residue Coverage Estimation

A computer vision pipeline that segments crop residue from field images and estimates coverage percentage, with a focus on generalisation across locations and environmental conditions.

Problem

Turn field imagery into a consistent, automated estimate of residue coverage while handling visual variation between collection sites.

Approach

Progressed from a Random Forest pixel classifier to a compact U-Net semantic segmentation pipeline built in PyTorch.

Evaluation

Compares IoU, Dice, precision, recall, and coverage error, with holdout experiments designed to expose domain shift.

My contribution

  • Built the image and TIFF-mask pairing, preprocessing, and data-loading pipeline.
  • Designed the Random Forest baseline and implemented a Mini U-Net in PyTorch.
  • Created image-level splits, evaluation metrics, and prediction visualisations.
  • Investigated cross-location generalisation and domain-shift failure modes.
PythonPyTorchOpenCVscikit-learnU-NetSemantic Segmentation

Next

More work will be added here, including my final-year project and future research-focused builds.

03

Skills & interests

Programming

  • Python
  • HTML, CSS & JavaScript

ML & computer vision

  • PyTorch · scikit-learn
  • OpenCV · NumPy
  • CNNs · U-Net
  • Training & evaluation

Tools

  • Git & GitHub
  • Jupyter Notebook
  • VS Code · command line

Research interests

  • Machine Learning Systems
  • Reliable & Robust ML
  • Efficient Training & Inference
  • Domain Generalisation
  • Distributed Intelligent Systems

Let’s connect

Interested in research, internships, and practical ML problems.

If you’d like to discuss an opportunity, a project, or a shared research interest, feel free to get in touch.