In neural net function, how can I see normalized input data?
Show older comments
The neural network function uses mapminmax function.
When I use neural network, I want to see normalized input data using mapminmax function.
But, I can't find normalized input data.
How can I see normalized input data?
Please help me.
Answers (1)
Greg Heath
on 29 Jul 2017
You have to use MAPMINMAX and calculate them yourself.
The normalization inside of the training function is not accessible. For details you can look up
help mapminmax
doc mapminmax
Hope this helps
Thank you for formally accepting my answer
Greg
6 Comments
kyeonghwan kim
on 30 Jul 2017
Edited: Greg Heath
on 30 Jul 2017
Greg Heath
on 30 Jul 2017
Edited: Greg Heath
on 30 Jul 2017
I will answer soon. Meanwhile, you may want to take a look at some of these in BOTH Newsreader and Answers.
Hope this is helpful.
Greg
Search using
greg simplefit_dataset
P.S. NEWFIT is obsolete. Do you have FITNET?
Greg Heath
on 30 Jul 2017
Another quickie that takes advantage of defaults
tic, [ x,t ] = simplefit_dataset;
rng(0), [net tr y e ] = train(fitnet,x,t);
plot(x,t,'b',x,y,'ro'), NMSE = mse(e)/var(t,1), toc
% NMSE = 1.7558e-05
% Elapsed time is 0.548107 seconds.
kyeonghwan kim
on 30 Jul 2017
Greg Heath
on 31 Jul 2017
Do not just look at just one output point when you have 94. The best measure I can think of is the normalized mean square difference
NMSD = mse(y2-y1)/var(t,1)
However, use the default 0.7/0.15/0.15 data division ratio and compute the differences for the trn, val and tst subsets.
Hope this helps.
Thank you for formally accepting my answer
Greg
Greg Heath
on 31 Jul 2017
Thank you for this post. I really learned from it. As I result, see
http://www.mathworks.com/matlabcentral/... newsreader/view_thread/349217#955612
Thanks again,
Greg
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!