how to supply Input matrix
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sachin Ghalme
le 12 Mai 2016
Commenté : Greg Heath
le 14 Mai 2016
I want to supply training and target matrix to Neural Network. what should be command format?
0 commentaires
Réponse acceptée
Walter Roberson
le 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 commentaires
Greg Heath
le 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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!