How to Build a SIR Model in 20 Minutesby@beng
936 reads

How to Build a SIR Model in 20 Minutes

July 5th 2020
7m
by @beng 936 reads
tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

How to Build a SIR model in 20 minutes or less is easy to do with HASH, a platform for building multi-agent models. We're going to use HASH to create a single agent and send messages to neighbors. We'll also add a field called recovery_timestep when an agent gets exposed and when they recover. If the agent is sick and has any neighbors nearby, we’ll send a message telling them they’ve been exposed. This type of compartmental model is one of the most fundamental tools used by epidemiologists today.

Coin Mentioned

Mention Thumbnail
featured image - How to Build a SIR Model in 20 Minutes
Ben Goldhaber HackerNoon profile picture

@beng

Ben Goldhaber

Receive Stories from @beng

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!