Big Data for Training Models in the Cloud