code and data for the nips workshop paper