Filter löschen
Filter löschen

how to supply Input matrix

1 Ansicht (letzte 30 Tage)
Sachin Ghalme
Sachin Ghalme am 12 Mai 2016
Kommentiert: Greg Heath am 14 Mai 2016
I want to supply training and target matrix to Neural Network. what should be command format?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 12 Mai 2016
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 Kommentare
Sachin Ghalme
Sachin Ghalme am 13 Mai 2016
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 am 14 Mai 2016
Too imprecise. Are these different matrix pairs considered different realizations of the same phenomenon?
Posting salient code would be helpful.
Hope this helps.
Greg

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by