Dimensionality reduction techniques are basically a part of the data pre-processing step, performed before training the model.