replication of clicksecurity mdl

ref:
http://nbviewer.ipython.org/github/ClickSecurity/data_hacking/blob/maste
r/mdl_exploration/MDL_Data_Exploration.ipynb