Skip to content

Instantly share code, notes, and snippets.

@zackmdavis
Created November 22, 2015 04:13
Show Gist options
  • Save zackmdavis/9aae94763f5b74930253 to your computer and use it in GitHub Desktop.
Save zackmdavis/9aae94763f5b74930253 to your computer and use it in GitHub Desktop.
Mezzanine
This program's belief distribution has an entropy of 6.629 bits. Learning whether 60 has the property is expected to reduce the entropy by 0.533 bits.
Does 60 have the property? [Y/n] >> n
On the question of whether 60 has the property, you said false.
This program's belief distribution has an entropy of 6.443 bits. Learning whether 72 has the property is expected to reduce the entropy by 0.362 bits.
Does 72 have the property? [Y/n] >> n
On the question of whether 72 has the property, you said false.
This program's belief distribution has an entropy of 6.340 bits. Learning whether 84 has the property is expected to reduce the entropy by 0.381 bits.
Does 84 have the property? [Y/n] >> y
On the question of whether 84 has the property, you said true.
This program's belief distribution has an entropy of 2.585 bits. Learning whether 28 has the property is expected to reduce the entropy by 1.000 bits.
Does 28 have the property? [Y/n] >> y
On the question of whether 28 has the property, you said true.
This program's belief distribution has an entropy of 1.585 bits. Learning whether 7 has the property is expected to reduce the entropy by 0.918 bits.
Does 7 have the property? [Y/n] >> y
On the question of whether 7 has the property, you said true.
This program infers that a natural number has the property iff it is divisible by 7.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment