Neural network input -output problem

조회 수: 2 (최근 30일)
Christopher Bishop
Christopher Bishop 2014년 11월 25일
댓글: Farhana Razak 2022년 3월 8일
I am new to the Neural network toolbox. I want to do a simple experiment with the neural network fitting tool.
I have a file called datain which contains a single column matrix of 9 elements. I have a target which is a file called dataout that is a single column matrix of 9 elements with similar values to datain. I can load datain and dataout using the fitting tool GUI. However after training I get the message
"the input data has more than one element The fitting tool can only plot single input problems"
My guess is that I have got muddled somewhere here. Can anyone explain what is going wrong?

채택된 답변

Christopher Bishop
Christopher Bishop 2014년 11월 26일
Thanks Greg. It all appears to work now. It seems that matrix inputs to the NNFT in MATLAB have to be transposed from columns as you say. My primary data was in an Excel spreadsheet as a simple column. I transposed the data using the transpose option on Excel 'pastespecial' and saved it as a new file. The NNFT accepts this now without problem.
  댓글 수: 1
Greg Heath
Greg Heath 2014년 12월 4일
You are welcome. However, I would appreciate you accepting my answer instead of your response to my answer which should be moved to a comment box.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Greg Heath
Greg Heath 2014년 11월 25일
Try transposing your matrices
Hope this helps
Greg
  댓글 수: 1
Farhana Razak
Farhana Razak 2022년 3월 8일
Hi there. I'm having the same problem here and I already transposed my data but the problem still occured. Do you have any idea why is this happens?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by