How to Build a SIR Model in 20 Minutes

Written by beng | Published 2020/07/05
Tech Story Tags: coronavirus | models | agent-based-modeling | rl | sir-model | how-to-build-a-sir-model | build-a-sir-model | hackernoon-top-story

TLDR 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.via the TL;DR App

no story

Published by HackerNoon on 2020/07/05