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

How to Build a SIR Model in 20 Minutes

by Ben Goldhaber7mJuly 5th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Ben Goldhaber

Ben Goldhaber

@beng

Share Your Thoughts

About Author

Ben Goldhaber HackerNoon profile picture
Ben Goldhaber@beng

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!