To build a regression model, I am scaling the data using the MinMax Scaler. Values are therefore transformed to [0, 1] and the model is trained using those values. Assume that the training data’s thickness column has a maximum value of 500 nm. I build the model and store it for predicting in the future. I now have a dataset with values for the thickness column ranging from 500 to 2000 nm. The query is now presented: I must scale the data if I want to make a prediction, and if I use the same Scaler again, the data will be changed back to [0,1]. As a result, the predictions can be affected.

How to handle this situation?

More Md Tohidul Islam's questions See All
Similar questions and discussions