Train on a fraction of the data set

actually artur, how do you get any indices?