When I generate a Matlab function of a neural network, it comes with the normalization/re-normalization constants. Will these constants affect the neural network performance on another data set? Why?
1 view (last 30 days)
Show older comments
The normalization/re-normalization (for example, mapping the data to [-1,1] or [0,1]) is built for the training data. What does make the normalization constants work to another data set? And if the new data have large values than the training data?
0 Comments
Accepted Answer
Greg Heath
on 15 Nov 2015
Not if both datasets have similar summary statistics (e.g., mean/std for mapstd or min/max for mapminmax).
That is why sometimes it is better to explicitly normalize before training and explicitly denormalize after training.
Hope this helps.
Thank you for formally accepting my answer
Gregg
0 Comments
More Answers (0)
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!