setTrainingData