Academic Projects
@ Cambridge

thesis and coursework projects during my
graduate studies at Cambridge
[contact me for code or reports where not provided]

Card image cap

Embedded Real-Time Activity Recognition

Embedded Systems coursework. Implemented an algorithm in C on a lightweight micro-controller and IMU to quantify the probability of walking activities.
  • Developed in C on a FRDM KL03 micro-controller with an MMA8451Q accelerometer.
  • Optimised for space by stripping excess boot code and implementing real-time parameter updates.
  • Utilised Gaussian distributions for stride timing with dynamic variance updates via Welford's algorithm and efficient CDF calculations using the Abramowitz and Stegun approximation.
  • My algorithm successfully differentiated between walking, jogging, and running based on stride duration probabilities.
  • Card image cap

    Temperature and Pulse Sensors

    Sensor Design Project. Implemented and calibrated a temperature and pulse sensor. Raw electronics implemented on an Arduino, real-time signal processing in C, data analysis in Python.
  • Achieved a 43.2% increase in temperature measurement accuracy through calibration of thermistors.
  • Implemented a real-time heart-rate detection algorithm using peak-finding techniques to provide immediate user feedback.
  • Card image cap

    Bayesian Optimisation for PPO

    Machine Learning and the Physical World coursework. Led a group project using Python to automatically tune PPO's hyperparameters using Bayesian Optimisation.
  • Developed in Python using Gymnasium for simulation, Stable Baselines3 for PPO, and GPyOpt for Bayesian Optimisation.
  • Automatically tuned the hyperparameters for Proximal Policy Optimization (PPO) for the Cartpole problem using Bayesian Optimisation, demonstrating more efficient convergence over random search.
  • Employed Gaussian Process surrogates with Matern52 and periodic kernels.
  • Varied neural network architectures to measure the importance of PPO's actor and critic.
  • Card image cap

    Probabilistic Ranking & Latent Dirichlet Allocation Model

    Probabilistic Machine Learning courseworks. One on TrueSkill / probabilistic ranking, the other on topic modelling / the LDA model.
  • Evaluated convergence of the collapsed Gibbs sampler and LDA models.
  • Achieved a grade A- for both courseworks.