Skip to content

Instantly share code, notes, and snippets.

@beala
Created November 19, 2020 14:12
Show Gist options
  • Save beala/7b3129a509dc3fbdc7ad1f8a2985dd42 to your computer and use it in GitHub Desktop.
Save beala/7b3129a509dc3fbdc7ad1f8a2985dd42 to your computer and use it in GitHub Desktop.
gf has covid [0.95]:
friend has covid [0.14]: true
~friend has covid: false
~gf has covid:
friend has covid [0.02]: true
~friend has covid: false
$ python main.py -f covid.yaml
[0.0010] ~gf has covid {p=0.05} → friend has covid {p=0.02}
[0.1330] gf has covid {p=0.95} → friend has covid {p=0.14}
Overall: 0.1340
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment