Standardize data when using Regression Learner App, but when predict...?

3 visualizzazioni (ultimi 30 giorni)
Hi, I have several features for a regression model. I used another software to standardized my data (for inputs and outputs). Then I used the standardized data for the Regression Learner App and get an acceptable result. My question is: I will use this exported model to predict another input dataset. What should I do with those new input data to get their output result? Or should I not standardized my training dataset to build the regression model? Thank you.

Risposta accettata

Prajit T R
Prajit T R il 22 Mar 2018
Hi Quan
Since you have trained the model on the standardized data, the model would give an accurate prediction only when the same standardization is used on the test inputs as well. Make sure that you are using the same function/software for standardization as you had done while training the regression model. Hope this helps.
Cheers

Più risposte (0)

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by