Python code for the Holistic Detective Entry in the 2013 KDD cup