TL DR: You have to run the feature generation pipeline on your unseen data as well before passing through the model.
Long Version: Features are not saved in the model, but the parameters. For e.g. you have 10 different points in the Cartesian plane (x
and y
coordinates are features) and you transformed them to polar coordinates, say r
and theta
. Thereafter, you modeled it as a circle. Based upon the transformed features (coordinates in polar space) you calculate the best fitting center C
and radius r
for the circle. Then you can save the center and radius as the model. The model doesn't have the features saved in it but the parameters C
and r
. Now given a new point, you will transform it into polar space before using the model for decision making.
So, the feature generation pipeline (transformation to polar space in the above example) along with the model (center and radius) is enough for modeling purposes.
Hope this clarifies the doubt.