Effacer les filtres
Effacer les filtres

Neural network input -output problem

8 vues (au cours des 30 derniers jours)
Christopher Bishop
Christopher Bishop le 25 Nov 2014
Commenté : Farhana Razak le 8 Mar 2022
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?

Réponse acceptée

Christopher Bishop
Christopher Bishop le 26 Nov 2014
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 commentaire
Greg Heath
Greg Heath le 4 Déc 2014
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.

Connectez-vous pour commenter.

Plus de réponses (1)

Greg Heath
Greg Heath le 25 Nov 2014
Try transposing your matrices
Hope this helps
Greg
  1 commentaire
Farhana Razak
Farhana Razak le 8 Mar 2022
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?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by