A toolbox for machine learning in parallel