question is how to define the transformations to build the training set