Hi there 👋

My name is Nuno. I currently live in Cambridge (UK) and work at Unipart Digital, where I focus on applying machine learning techniques to logistics and manufacturing.

Previously, I did my Ph.D. at the University of Cambridge, mostly trying to understand neural computations underlying 3D vision.

Setting up a Spark Standalone Cluster

This is a quick note on how to set up a Spark cluster in standalone mode. This is useful if you want to setup a cluster for your own development purposes or if you just want to do it for fun—for more serious use cases, Spark clusters should be setup on top of YARN or Kubernetes. You will need to create a few VMs: one VM for the cluster manager and then one or more VMs where the executors will be running....

July 14, 2022

Puppet with a Agent-Master architecture

There are many resources out there which—rightly—focus on teaching Puppet using simple architectures, e.g. a single node, masterless setup. However, I found less info on how to set up Puppet with an Agent-Master architecture. This short article gives a very high-level overview of the main steps. It is not a self-sufficient tutorial by any means—but I am hoping it will still be useful for those trying to understand the big picture....

July 13, 2022

Privacy-compatible automated contact tracing

If you are following the news, you may have heard about Contact Tracing and how it can help us contain communicable diseases such as COVID-19. Essentially, contact tracing is the process of manually identifying and closely monitoring those in close contact with people that have been diagnosed with an infectious disease. It is commonly performed for diseases such as tuberculosis and measles and it can help by: Breaking transmission chains Notifying contacts of a potential infection Enabling early testing and treatment of vulnerable contacts However, the large volumes of COVID-19 cases and the speed at which the disease spreads make it difficult to perform accurate and timely contact tracing manually....

April 29, 2020

A normalization model of multisensory integration

Many neurons in the brain are driven by more than one sensory system (e.g. vision and audition), and they might play an important role in improving our perception of what surrounds us. Here I explore recent work by Ohshiro and colleages on the role of divisive normalization in multisensory integration. Take a look at the notebook here.

November 14, 2016

Adapting the disparity energy model to natural stimuli

A short notebook on the disparity energy model and responses to correlated and anticorrelated binocular images. Take a look at the notebook here.

October 1, 2016

Marr and Poggio's cooperative stereo algorithm

David Marr was a bright computer scientist whose work still has a remarkable impact in modern computational neuroscience. He published several papers on stereoscopic vision, of which the most popular I explore here. Take a look at the notebook here.

October 1, 2016

A brief demo of the classical disparity energy model

Nearly a quarter of a century has passed since Ohzawa and colleagues proposed a model of how cortical neurons in primary visual cortex might support depth discrimination. Here is a demo of how it works, written in Julia. Take a look at the notebook here.

September 14, 2015