I couldn't find the code/slides at the url in the descriptions. However, I was able to get to them here: sites.google.com/site/simplebayes/home/pycon-2015
as I'm looking at his "1/hypo" chance, where hypo is an integer, I would have expected a bug, since that should return a chance of 0, not the desired result.
That seems wrong. He seems to be using 2.7.9. I expect `hypo` is a float and thus the division is a float division. Not that this would matter much to Peter Teuben one year later ;)
I couldn't find the code/slides at the url in the descriptions. However, I was able to get to them here: sites.google.com/site/simplebayes/home/pycon-2015
as I'm looking at his "1/hypo" chance, where hypo is an integer, I would have expected a bug, since that should return a chance of 0, not the desired result.
+Peter Teuben Allen is using Python 3 where '/' is floating point division by default.
Thanks!
That seems wrong. He seems to be using 2.7.9. I expect `hypo` is a float and thus the division is a float division. Not that this would matter much to Peter Teuben one year later ;)