cross_validation: if Y isn't a numpy array, compute y_subset using a list comprehension, just like it's done for X