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 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Anderson
am 14 Nov. 2015
Beantwortet: Greg Heath
am 15 Nov. 2015
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 Kommentare
Akzeptierte Antwort
Greg Heath
am 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!