725 views
1 1 vote
When I standardized my data when I created my model. Do I need to save the standardization transformation when I want to predict with my model new data ?
0% Accept Rate Accepted 0 answers out of 1 questions

1 Answer

1 1 vote

The details of standardized vector is stored in the transformer object. For example X_scaled on this page is storing all details for the mean and SD of the original vectors in training data, and you can use it to scale the new vectors.

Related questions

0 0 votes
1 1 answer
1.0k
1.0k views
Kesz asked Nov 17, 2020
1,040 views
Hi. I have a question about model-based predictions when data is only available after the fact. Let me give you an example. I try to predict the result (HOME, AWAY or a D...
0 0 votes
0 0 answers
531
531 views
HbibOs asked Jun 21, 2021
531 views
Hello,I trained a CNN using synthetic data to perform a segmentation task on human faces. During the test and to evaluate the prediction of this network, I used 200 examp...
0 0 votes
0 0 answers
550
550 views
Anas asked Nov 28, 2021
550 views
So say I have a column with categorical data like different styles of temperature: 'Lukewarm', 'Hot', 'Scalding', 'Cold', 'Frostbite',... etc.I know that we can use pd.ge...
1 1 vote
1 answers 1 answer
1.3k
1.3k views
Kesz asked Oct 27, 2020
1,340 views
So far, I have modeled on known historical data. What if there are variables known only after the fact?Let me give you an example. I want to predict the outcome of the ma...
1 1 vote
1 1 answer
1.4k
1.4k views
Anas asked Dec 18, 2021
1,360 views
It's a car prices dataset, and so I'm assuming that the more recent the more value a car should have. The values in the 'year' column simply consist of years from 1995 to...