Does new input data (test data) need to be 'manually' standardized before passing it to a trained Regression Neural Network model?
조회 수: 8 (최근 30일)
이전 댓글 표시
Hi all,
I trained a neural network model using the Regression Learner App in MATLAB, and I set "Standardize" to true. According to the documentation, that option standardizes the predictors so that they have mean 0 and standard deviation 1.
Now I want to test this model with new data which has never been seen by the model before, and I wonder if I need to apply the standardization to this data 'manually' (by using the N = normalize(A) function, for example) before passing it to the trained model to predict the ouputs, or if this is automatically performed by the trained model everytime it receives any input.
I couldn't find anything about it in the documentation so any help on the topic would be greatly appreciated :)
댓글 수: 0
답변 (1개)
Anshika Chaurasia
2021년 11월 2일
Hi,
There is no need to standardize test data before passing it to trained Regression Neural Network.
Moreover, in the documentation, it is mentioned that Regression Learner uses the fitrnet function to train the neural network models.
In the examples mentioned in fitrnet documentation, you can see to evaluate the performance of regression model on the test set, no normalization (or standardization) is done before.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Gaussian Process Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!