how to supply Input matrix
1 次查看(过去 30 天)
显示 更早的评论
I want to supply training and target matrix to Neural Network. what should be command format?
0 个评论
采纳的回答
Walter Roberson
2016-5-12
Example:
inputs = xlsread('data_flood.xlsx','Sheet5') .';
targets = xlsread('data_flood.xlsx','Sheet6') .';
n = 3; % number of neurons
net = feedforwardnet(n);
net = configure(net, inputs, targets);
Notice the transpose of the data: each column is a different sample.
2 个评论
Greg Heath
2016-5-14
Too imprecise. Are these different matrix pairs considered different realizations of the same phenomenon?
Posting salient code would be helpful.
Hope this helps.
Greg
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!