Simulating epidemics using Go and Python

2 min read Original article ↗

Simulate and analyse different epidemic scenarios with Go and Jupyter Notebook

Sau Sheong

This is something that’s directly impacting me even as I am typing out this story. What started out as a small outbreak of a novel coronavirus in Wuhan, China towards the end of December 2019, quickly spread to the rest of China and beyond its borders. As of writing in February 2020, less than 2 months from its initial reporting, there are about 70,000 confirmed cases and almost 1,700 deaths. While most of the cases and deaths are still in China, centering around Wuhan and surrounding cities, the situation is quickly evolving.

Press enter or click to view image in full size

(credits: zhizhou deng https://www.flickr.com/photos/186588517@N05/49477439332/)

In Singapore where I live, the first suspected case was reported on 2 Jan. The patient, a three-year-old girl with a travel history to Wuhan. It turned out to be pneumonia.

The first actual confirmed case of the COVID-19 virus came on 23 Jan, an imported case of a 66 year-old male Chinese national from Wuhan who arrived in Singapore with his family on 20 January. The numbers stacked up pretty quickly over the next few days, all imported cases. For a while, there was hope that it was just that — imported cases. Then the hammer fell on 4 Feb. 6 cases were reported, including 4 cases of human-to-human transmission. The first local transmission cases has arrived.