Python’s float type is a natural first step to represent monetary amounts in the code. Almost all platforms map Python floats to IEEE-754 “double precision”.
Doubles contain 53 bits of precision. When the machine is trying to represent the fractional part... (more…)
Read more »
A random forest classifier in 270 lines of Python code. It is written from (almost) scratch. It is modelled on Scikit-Learn’s RandomForestClassifier. (more…)
Read more »
import operator
f = lambda n: reduce(operator.mul, range(1,n+1))...
Read more »
A compositional diagramming and animation library as an eDSL in Python - GitHub - revalo/iceberg: A compositional diagramming and animation library as an eDSL in Python... (more…)
Read more »
In this tutorial we'll dive in Topic Mining. We'll analyze a dataset of newsfeed extracted from more than 60 sources. We'll show how to process it, analyze it and extract visual clusters from it. We'll be using great python tools for interactive visualiza... (more…)
Read more »