how to supply Input matrix

1 次查看(过去 30 天)
I want to supply training and target matrix to Neural Network. what should be command format?

采纳的回答

Walter Roberson
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 个评论
Sachin Ghalme
Sachin Ghalme 2016-5-13
Thank, I will try... But I am using for loop and with iteration I want to change input and output matrix?
Greg Heath
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 CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by