In neural net function, how can I see normalized input data?
显示 更早的评论
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.
回答(1 个)
Greg Heath
2017-7-29
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 个评论
kyeonghwan kim
2017-7-30
编辑:Greg Heath
2017-7-30
Greg Heath
2017-7-30
编辑:Greg Heath
2017-7-30
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
2017-7-30
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
2017-7-30
Greg Heath
2017-7-31
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
2017-7-31
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
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!