In case I have trained and tested my model with principal components after applying PCA. How should I modify my new instance so that I can use the trained model ?. Let me give an example for a more detailed explanation. Suppose I had 100 features and after applying PCA I decided to use 20 principal components to train a model. Now my new instance will probably have 100 features. So how can I reduce these 100 features (of the new instance) to get 20 principal components for my model to predict?