This is a utility function that allows to set the correct path from which the algorithm will load the trained model
obj.setTrainingPath(trainingPath)