MATLAB scripts to reproduce the results of our ICML 2010 paper