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?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Greg Heath
2015-11-15
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!