I am learning ML and facing confusion about data scaling. For example, I have the following data:
Weight(KG) | Balance($) |
---|---|
75 | 3401542 |
99 | 4214514 |
Now, if I use StandardScaler, I may get something like this:
Weight(KG) | Balance($) |
---|---|
-0.23214788 | -0.73214788 |
-0.25214788 | -0.83214788 |
Now, I can train_test_split data, then train the model and find the accuracy of the model. Suppose, the accuracy is 82%. Now, if I want to test the model from user data by model.predict(), then user will not put scaled input, because users are not aware of the internal process of the model, they will put real-life values, like weight= 102 and balance= 1025455. Now, since my model is trained and tested with scaled data, how it will handle real-life values in real-life applications without scaling?