Nural network Simple Fitting Problem has "not enough input argument" massage

1 view (last 30 days)
Dear all,
I am following the "Getting Started with Neural Network Toolbox" video. As the video says, I tried "Simple Fitting Problem". But when I click "Train", the GUI gave an error pop-up window "Unable to Train Networks: Not enough input arguments".
Does anyone know how to solve this issue? I am using Matlab R2012a, and Neural Network Toolbox Version 7.0.3.
Thanks very much
  1 Comment
Geoff Hayes
Geoff Hayes on 9 Dec 2014
Xiwang - it might be helpful to provide a link to the video that you are running so that others can get an idea of what steps you are following.

Sign in to comment.

Accepted Answer

Greg Heath
Greg Heath on 25 Dec 2014
You probably have to transpose the input and target matrices. For N examples of I-dimensional inputs and corresponding O-dimensional targets
[ I N ] = size(input)
[ O N ] = size(target)
Hope this helps.
Thank you for formally accepting my answer
Greg

More Answers (0)

Categories

Find more on Image Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!