how to supply Input matrix

조회 수: 1 (최근 30일)
Sachin Ghalme
Sachin Ghalme 2016년 5월 12일
댓글: Greg Heath 2016년 5월 14일
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