I am checking what type of preprocessor we are applying. If it is the Toronto Preprocessor and we are working on the test set, we have to fit first the Toronto Preprocessor on the train set and then apply this preprocessor on the test set (with the train-computed mean).