MATLAB: Standardize data when using Regression Learner App, but when predict…

MATLABregression learner appstandardize data

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.

Best Answer

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
Related Question