Machine learning for clinical data, and the hardware that collects it.
Second-year MEng Biomedical Engineering student at UCL. I design the boards, write the firmware and train the models, and spend most of my time checking whether the numbers are real.
Looking for a summer 2027 internship in medical imaging, biosignals or embedded systems. Available full-time from mid-June to late September 2027.
Each stripe is one of the 383 distinct photographs in the CP-AnemiC dataset, drawn in its measured conjunctiva colour and ordered by the child's laboratory haemoglobin. The tick is the WHO threshold for anaemia. There is no clean fade from pale to red. The signal is real but subtle, which is why it had to be measured properly. From PallorHb, below.
Selected work
Kaggriculture
Market-timing layers for Kaggle's two-farm simulation competition
Competition bronze medal: final rank 549 of 10,148 teams, awarded 15 October 2026.
Two farms sell into one market where the price is a fixed function of stock and orders are served slot by slot, so the position of an order in the list is worth money. Most rivals in my band ran the same public engine, so I could predict their list, check that prediction every turn against their public money, and place each of my sales one slot ahead of theirs. When a rival buys a block of wheat, a layer buys alongside it and sells in the last slot of the same turn, taking the rise the rival's own purchase causes. Every build was replayed into my seat of a few hundred recorded ladder games and had to win at least as many; the farm itself is the public 2965 Master Engine (Apache-2.0), unchanged except three constants.
Final rank 549 of 10,148 teams, top 5.4%, bronze medal. Rank 339 at the close on 30 September 2026, before the ladder settled.
One turn of the ride
+94 coins for us, +94 more paid by the rival for its own block, in a recorded game replayed unit by unit
Recorded games against early wheat buyers
31 of 42 won with the ride, 24 without
Testbeds
401 recorded games replayed to the coin; a reactive panel of synthetic rivals; a census of destroyed goods and failed orders; fault injection; a control build for every new switch
Limit
Recorded rivals cannot react. A live rival whose blocks cost more may stop buying, and then the ride earns nothing.
The certificate, awarded 15 October 2026. Verify it at kaggle.com/certification/competitions/painghtetsw/kaggriculture.
Day 23 of 30 in one of the entry's ladder games on 30 September 2026, in the competition's own visualiser. Our farm is on the right.
One shop turn of a recorded ladder game, replayed unit by unit from the engine's price rule. Our block of 60, bought in the rival's slot and sold in the last one, made 94 coins; the rival paid 94 more for its 80.
PallorHb
Anaemia screening from photographs of the eyelid, and an audit of the benchmark it is tested on
Preprint on Zenodo, September 2026. Sole author.
I set out to estimate haemoglobin from conjunctiva photographs on the public CP-AnemiC dataset. Its 710 published records turned out to be 383 distinct photographs. The copies cross hospitals and carry conflicting haemoglobin values, so grouping folds by site, the standard safeguard, still left two-fifths of the inflation in place.
+0.182 AUROC over demographics alone (DeLong p = 2 × 10⁻⁶)
Limit
A triage screen, not a haemoglobin meter: Bland-Altman limits of agreement span 7.8 g/dL
Reproducibility
62 tests. Every number in the manuscript is regenerated and checked by script.
One photograph filed under two identifiers, at two hospitals, with two haemoglobin values. The third panel is the difference after a 3 pixel shift. Images: CP-AnemiC dataset (Asare, Mendeley Data), CC BY 4.0.
Unseen Alleles
Do protein foundation models help predict peptide-HLA stability on binding grooves they have never seen?
Built in 48 hours at the London AI x Science Hackathon, October 2026, with Radin Moradi, Sina Ahani and Andy Kaça. Team work, not mine alone.
How long a peptide stays bound to an HLA molecule predicts T cell response better than binding strength does, but it has been measured for only 75 alleles and for none of HLA-C. A patient has no obligation to carry one of the 75, so the question is extrapolation to a groove nobody has measured. We tried hard to make a protein language model win it, and it lost. The work that mattered was the test: every allele in this panel has a near-twin, so holding out one allele at a time measures copying rather than generalisation. We clustered the grooves at 80% identity over their 34 peptide-contact residues and held out whole clusters instead.
Python, PyTorch, Hugging Face Transformers, scikit-learn, NumPy, SciPy, 3Dmol.js
Conventional network, BLOSUM62 and one-hot
Median per-allele Spearman 0.265 over 21 held-out groove clusters
Best language-model arm
0.164, the best of eleven configurations across three encoder families, including one fine-tuned end to end
The configuration most people use
0.092 for frozen mean-pooled ESM-2, which is not distinguishable from a control that is never shown which allele it is predicting for
Margin
The conventional network wins on 19 of 21 folds, median margin +0.080, Wilcoxon p = 1.3 × 10⁻⁵
Why they lose
Under ESM-2 the 75 alleles sit at 0.97 to 0.99 mean pairwise similarity, against 0.60 under one-hot. The pretrained representation has smoothed away the differences between grooves, which are the entire signal.
Limit, printed not buried
The fold unit is a cluster, so 80.9% of test rows carry a peptide that also appears in training against some other allele. Restricted to genuinely novel peptides the result survives, 0.299 against 0.307, but on only 12 of the 21 folds.
Audit
17 leakage checks, including a negative control in which the guard is made to fire on purpose, and a check that predictions are bit-identical under scrambled bookkeeping columns
Every arm on one scale, one dot per held-out groove cluster. A lookup table with no model and no allele information beats frozen ESM-2 off the shelf. Drawn with the deployed five-seed ensemble, where the conventional net reads 0.31; the numbers above use the per-fold mean over seeds, the stricter of the two conventions. The ordering is the same either way.
The public explorer at peptidehla.com. Pick one of the ten trained models, type a peptide, and see the prediction beside the half-life the experiment actually measured. The structure is a crystal template, PDB 3GSN, not a predicted fold, and the page says so in place.
PURSUIT-1
A 92 mm quadcopter whose circuit board is its own airframe, built to follow one enrolled person
Rev A board built and bench-tested. Not yet flown.
There is no separate frame. The 4-layer board is the structure, and the motors clamp into rings at the ends of its arms. The board is generated from a Python netlist. The flight firmware runs on an ESP32-S3 and is written from the IMU registers up. Detection and identity run on a laptop, which sends setpoints over WiFi.
KiCad and its Python API, ngspice, C++, PlatformIO, Python, ONNX Runtime, OpenCV
Boards
Rev A fabricated and brought up on the bench, August 2026. Rev C released for fabrication.
Link
0 corrupt in 3,828 command and 2,551 telemetry packets, with the control loop at about 1.09 kHz
Identity
0 false accepts in 24,110 impostor faces. Held lock on 391 of 400 frames with a second person in view, and never transferred.
Stability
Uncompensated, the vision loop goes unstable at about 17 ms of delay, and the measured round trip is 20 ms. With attitude compensation it settles past 200 ms, in simulation.
Caught on the bench
The IMU sat 180 degrees out in yaw, which would have flipped the aircraft on take-off. The host tests had passed on synthetic data.
EIT images a cross-section from voltages measured at the surface. It is the method used at the bedside to watch a lung inflate. My first learned reconstruction, trained on clean simulations, lost to the classical Gauss-Newton solver as soon as noise was added. Trained with the noise model the instrument will actually have, a small U-Net beat it at every noise level tested.
Correlation with the truth 0.566, against 0.170 for Gauss-Newton
Clean data
0.825 against 0.791
Uncertainty
Five-member ensemble: the confident half of each image is 8 to 18 times more accurate than the doubtful half
Hardware
A 4-layer 100 x 100 mm board with 104 footprints, and a 2-layer through-hole version for hand assembly. Neither is fabricated.
Next
Measure the real signal-to-noise ratio in a saline tank and test the simulation-trained model against it
Ground truth, Gauss-Newton and the U-Net at three noise levels. Simulated data.
The 4-layer board. KiCad render.
TT-Scout
Table tennis match analysis from one phone on a tripod
Checked by hand against real match video.
Film a match from the side of the table. TT-Scout finds every point and who won it, keeps the score, and measures each shot's speed in 3D with its own error bar. The table is the calibration: it is exactly 2.74 by 1.525 m, so its four corners recover where the phone stood. Ball tracking is classical, so when it goes wrong you can find the frame and see why.
Correct on all 21 endings that could be judged by eye: 16 of 16 on the recording the rules were tuned on, 5 of 5 checked blind on another
Shot speed
Median error 3% on simulated shots with noise, spin and hidden contacts. Not yet measured against a real ball.
Table found automatically
8 of 8 own recordings, 12 of 12 OpenTTGames clips
Learned detector, research only
Finds the ball in 98% of labelled frames against 77% for the classical detector, on 7 held-out clips
One point as TT-Scout draws it: ball trail, bounce, score, shot speed, both players' poses and a coaching note. Sina, left, receiving Radin's serve, filmed on a phone from the side of the table. Both players agreed to be filmed.
Crank Charger
A hand-crank phone charger: printed planetary drive, stepper motor as alternator
Built. First charging icon seen 12 October 2026; predicted 10 W into the phone, nothing measured yet. The measured test is due 25 October 2026.
A 236 mm hand wheel turns a 91-tooth ring gear. Three 37-tooth planets on fixed steel pins drive a 17-tooth sun on a NEMA23 stepper, so the motor turns 5.35 times faster than the hand. The gears are herringbone and printed in one job, already meshed. Run as an alternator the stepper is inductance-limited: its current, and so its torque, barely rises with speed, which is why the drive multiplies speed and not torque. Two Schottky bridges, a 1000 uF capacitor and a buck converter make 5 V for the phone. The design document works through every number from 90 rpm at the hand to 10 W at the phone, and the prediction is written down before the first crank so that the USB meter can disagree with it.
Fusion 360, Blender, ngspice, Python, PETG on a Bambu P1S
Drive
One planetary stage, ring 91, planets 37, sun 17, module 2.4: 5.35 to 1. Herringbone, printed in one job, already meshed.
Generator
A NEMA23 stepper run backwards: 0.318 V per rad/s from its own label, so 16 V peak per coil at 482 rpm
Why only speed buys watts
At 400 Hz the coil's reactance is 6.3 ohm against 0.9 ohm of resistance, so the current it can pass stays near 2.5 A at any speed. The torque is pinned, so the drive multiplies speed.
Predicted
10 W into the phone for 17.5 W at the hand at 90 rpm, about 19 N on the grip. 57 percent, hand to phone.
Electronics
Eight SB560 Schottkys in two bridges, a 1000 uF bus capacitor, a 7 to 30 V buck converter, a USB meter in the lead
Limit
Nothing measured yet. Iron loss is not modelled and the mesh efficiency is a guess, so the real number will be lower.
Test
60 s of cranking on film, the phone charging, the meter in shot, judged against the number written down beforehand. By 25 October 2026.
Cranked at 90 rpm. Drawn from the part files; the meter shows the prediction.
Every part, named. The cover lifts off to show the stepper, the card of eight Schottky diodes with its capacitor, and the converter that feeds the meter.
The gear cartridge: ring, planets and sun printed in one job, the planets' bearings, pins and spacers, and the spider that carries them.
Cycloidal Arm
A five-axis robot arm on three printed 21:1 cycloidal joints, driven from a webcam
Drawn and checked, printing in progress: four of sixteen plates printed, nothing assembled or measured. The joint test, backlash and stall torque against a locked prediction, is due 30 November 2026.
A NEMA17 behind a printed cycloidal reducer: twenty-two steel dowel pins on a 72 mm circle, a 21-lobe disc running 1.0 mm off centre, a second disc 180 degrees round to cancel the wobble, six output dowels through oversized holes. Twenty-one to one in a single stage, and several lobes carry the load at once, which is why a printed disc can take what printed spur teeth would strip. Three identical joints, each on a 42 N cm NEMA17 with no balancer spring, are the yaw, shoulder and elbow of an arm with 150 mm links; two servos do wrist pitch and roll, and three two-joint fingers close on a 66 mm can. A laptop turns webcam pose into joint angles and an ESP32-S3 steps the motors. The question the build answers is not whether it turns but two numbers: backlash at the output and holding torque, measured against a prediction written down before the test.
Fusion 360, Blender, ngspice, C++ on ESP32-S3, Python, MediaPipe, PETG on a Bambu P1S
Joint
22 steel dowel pins on a 72 mm circle, a 21-lobe disc thrown 1.0 mm, two discs 180 degrees apart, six output dowels through 7.2 mm holes: 21 to 1 in one stage
Why cycloidal
Several lobes share the load, so PETG carries what printed spur teeth would strip. The price is backlash from the pin clearances, and that is what the test measures.
Predicted
4.28 N m stall per joint, from 0.34 N m x 21 x 0.60; the 0.60 is a guess the test replaces. Backlash 0.76 degrees from the drawn clearances, against a 0.9 degree gate.
Arm
Yaw, shoulder and elbow on three identical 21:1 joints, one 42 N cm NEMA17 each and no balancer spring; 150 mm links; wrist pitch and roll on hobby servos; three two-joint fingers rated 150 g on a 66 mm can
Control
Webcam pose through MediaPipe to joint angles on a laptop; step pulses from an ESP32-S3; no encoders, homed by hand
Checks
143 geometric checks on the joint and 144 on the arm, a collision scan over 82,485 poses, every print plate mesh-checked before slicing. Fits are estimates until the first joint is read.
Test
Backlash under 1 degree at the output, the arm holding 1 kg at 150 mm, and measured stall within 20 percent of the locked prediction, on film, by 30 November 2026
The pick, as the control code computes it: three 21:1 cycloidal joints and two wrist servos. Drawn from the part files, not built.
One joint, apart: 22 pins round two 21-lobe discs on an eccentric cam give 21 to 1. Every part named; nothing assembled yet.
OXI-1 Pulse Oximeter
A fingertip reflectance pulse oximeter: own analogue front end, board, shell and firmware
Drawn and checked, nothing ordered: the board files sit at the fab's order form, nothing printed or soldered as of 26 October 2026. The 60 s test against a fingertip oximeter is due 30 November 2026.
A 660 nm red and a 940 nm infrared LED either side of a photodiode on the centre line of a 55 x 28 mm board, printed light walls between them, and a finger on the printed bed above. A transimpedance amplifier turns the photocurrent into a voltage, a 16-bit ADC reads it at 100 Hz per colour, and an ESP32-S3 band-passes each channel, finds the pulse and takes the ratio of ratios that the SpO2 reading comes from. The cycle is dark, red, dark, infrared every 10 ms, so mains flicker at 100 Hz lands on DC and the dark slots take it out. Everything sits inside a 60 x 33 x 29 mm printed clip: a pouch cell and its charger, the display in the lid, USB-C through the back wall. It is the physical version of the block diagram in my MPHY0011 oximetry report, drawn as a finished device rather than a bench board, and it is not a medical device. Schematic, board and shell are generated from Python with AI assistance, and every number below is a design value: nothing has been measured yet.
KiCad, Fusion 360, Blender, ngspice, C++ on ESP32-S3, Python, PLA on a Bambu P1S
Optics
Reflectance, on the board's centre line: red at 26.0 mm from the mouth, photodiode at 31.4, infrared at 37.3, printed light walls between them so an LED reaches the photodiode only through the finger
Front end
MCP6002 transimpedance amplifier with 100 k feedback: 10 uA of photocurrent is 1.5 V. ADS1115 16-bit ADC, so a 1 percent pulse is 10 mV, 160 LSB at the first gain, before the programmable gain adds up to 8x
Timing
Four 2.5 ms slots every 10 ms: dark, red, dark, infrared. 100 Hz per colour, so 100 Hz mains flicker aliases to DC and the two darks around each colour cancel it. Simulated loop: the amplifier settles in 21 us, phase margin about 85 degrees
Power
A 502025 pouch cell across the front, TP4056 charging at 65 mA, a P-FET switched by the slide switch and a Schottky to the module's 5 V pin, 0.32 V below the cell. Under 80 mA running, so about 3 h a charge on paper
Shell
60 x 33 x 29 mm, four printed parts: tub, finger bed, lid and pad; a pen spring and a 1.75 mm filament hinge pin; display in the lid, USB-C through the rear wall. 97 interference and fit checks pass against the real board's pads
Board
55.2 x 28.2 mm, two layers, 41 machine-placed parts on 23 order lines: DRC clean, every pad proved against the netlist, 100 percent ground under the ADC and the photodiode node, placement rotations checked against the fab's own footprints, three adversarial reviews
Limit
The ratio to SpO2 map is the textbook first-order line until a three-point calibration against a fingertip oximeter, and the rule for when a number is shown at all is still to be written. Not a medical device.
Test
Finger on the bed, a live pulse trace on the display and SpO2 within 3 points of a fingertip oximeter read at the same time, for 60 s on film, by 30 November 2026
The unit as drawn, closed, with the board it is built around: 60 x 33 x 29 mm shell, white lid over a black tub, the finger goes in at the front; the 55 x 28 mm board carries the optics, the front end and the ADC on top, and the ESP32-S3 module plugs in underneath. Rendered from the part files and the routed board; nothing printed or ordered.
Every part on its axis: lid and display, finger pad, finger bed with the light walls, the 55 x 28 mm board with the optics facing up and the ESP32-S3 module under it, the pouch cell in the tub, the pen spring and the filament hinge pin.
More work
Hardware
EMG front end
Surface-EMG amplifier and RP2040 firmware for proportional grip control
Board built, telemetry verified. No EMG recorded yet.
An instrumentation amplifier with driven-right-leg mains rejection feeds a Raspberry Pi Pico, which runs the whole loop: filtering, a safety state machine, and a map from contraction strength to grip. In a 10 s capture the link delivered 499 frames with no CRC errors and none dropped. The analog stage has not been powered, so nothing has been recorded from skin.
A racer meant to slow down when it stops trusting a sensor. The useful result was negative: an ensemble over the policy scored AUROC 0.127 on a blinded sensor, worse than chance, because steering has many right answers and disagreement between them means nothing. Estimating it on a forward model and isolating the faulty sensor, instead of braking, cut crashes from 155 to 2 across 192 held-out fault episodes at full speed. The body aerodynamics use a Navier-Stokes solver written from scratch and validated against published cylinder-flow benchmarks.
150 by 90 by 46 mm. Rendered from the OpenSCAD model.
Photobioreactor controller
ESP32-S3 controller for a 1 L algae culture
Simulation only. Board designed, not fabricated.
A 2-layer board that reads optical density, pH and temperature and switches the lights, air and dosing. A fitted growth model chooses the light schedule. Across ten simulated runs with unknown parameters it grew a median of 21% more biomass than a fixed timer at equal energy, and never less.
KiCad, ngspice, CadQuery, Python, PlatformIO
Rev B. KiCad render.
Software
Wave Lab
A real-time harmonic analyser that runs in the browser
Live at paingheinhtet.com since June 2026. Demo mode needs no microphone.
A single-page instrument that takes the microphone signal and shows what it is made of while it plays: each dominant frequency drawn as its own travelling sine wave with its note name, the spectrum with its peaks marked, the raw waveform, an X-Y phase scope, and the detected sines re-summed and laid over the real wave. The analysis runs on an 8,192-point FFT in the Web Audio API; the overlay uses a direct DFT at each detected frequency, so amplitude and phase are exact rather than read off a bin. Low-, high- and band-pass filters apply live, with optional monitoring. A YAMNet classifier runs in the browser through TensorFlow.js and names the sound among 521 classes; song recognition goes through the AudD API with the user's own token, which never leaves the browser.
Demo mode, no microphone: a 193 Hz tone split into its three strongest components, their sum laid over the real waveform, and the H1 to H8 harmonics meter. Screenshot from the browser.
Watch Sentinel
Illness early-warning from Apple Watch data
Validated on synthetic data only.
Resting heart rate, heart rate variability, respiratory rate and wrist temperature are each scored against a personal 28-day baseline that never sees the future, and three of the four must agree before it alerts. A SwiftUI app exports the data from HealthKit. It compiles but has not yet run on a device.
The detector on its synthetic export: resting heart rate against a 28-day trailing baseline that ends yesterday, and the daily risk score. Two planted illnesses at days 45 and 95; alerts from days 43 and 93. No real watch data yet.
Gripper
Control software for a 4-DOF robot arm
100 unit tests pass. Not yet run on the arm.
Two modes, switched by a hand gesture: teleoperation that follows a tracked hand, and a grasp that aligns to an object by visual servoing. A Raspberry Pi 5 does perception and planning. An ESP32 does servo control and safety, so the arm stops if the Python side hangs or the cable is pulled.
The live telemetry page the package serves, here in its standalone demo with made-up joint angles. The arm is not attached yet.
Publication
Htet, P. H. (2026). Duplicate leakage in a public conjunctival pallor benchmark, and an honest baseline for image-based anaemia screening. Preprint, Zenodo. doi:10.5281/zenodo.22782147
Shows that a published clinical image dataset contains far fewer distinct images than records, that the duplicates carry conflicting labels, and that the usual site-grouped cross-validation does not remove the resulting inflation. Reports a corrected baseline and releases the detector.
Background
2025 to 2029
MEng Biomedical Engineering, University College London
First Class in year one. Second year in progress.
Oct 2026 to now
Student researcher: a keyhole tool that lays an imaging skin onto an organ
With Rozenn Raffaut and Dr Agostino Stilli, UCL. Designing the next prototype of a 12 mm tool that grips a soft imaging skin and deploys it through a surgical port.
2026 to now
Research: oral cancer detection with deep learning
With Dr J. W. Asare, University of Energy and Natural Resources, Ghana.
Jan to Jun 2025
Healthcare assistant, Grand Mandalay Hospital, Myanmar
Six months on the wards, supporting staff with patient care and observations. That experience turned my work towards machine learning for clinical care.
2025
A-Levels
A* in Mathematics, Further Mathematics, Physics and Chemistry. A in Biology. IGCSE (2023): grade 9 in all nine subjects.
Tools and methods
Languages
Python, C, C++, MATLAB, SQL. Data structures and algorithms.