I want to supply training and target matrix to Neural Network. what should be command format?

 Accepted Answer

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 Comments

Thank, I will try... But I am using for loop and with iteration I want to change input and output matrix?
Too imprecise. Are these different matrix pairs considered different realizations of the same phenomenon?
Posting salient code would be helpful.
Hope this helps.
Greg

Sign in to comment.

More Answers (0)

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!