From: kwon min kyoong on
I want to know how to reproduce the M.file?

after finishing the programming, i saved the MAT.file
: In MAT.file(variable : inputs, targets, outputs, net and so on..)
i also saved the M.file (in here, validation and test % like this... )

and i want to reproduce the results again.
but when i ran the edit file(M.File),
it gives me the ERROR
=> ?? Input argument "inputs" is undefined.

Error in ==> create_fit_net1 at 22
net = newfit(inputs,targets,numHiddenNeurons);

How can i reproduce the results?? PLZZZZZ... Help me... :o
From: Greg Heath on
On Jun 30, 9:23 pm, "kwon min kyoong" <kmk5...(a)yuhs.ac> wrote:
> I want to know how to reproduce the M.file?
>
> after finishing the programming, i saved the MAT.file
> : In MAT.file(variable : inputs, targets, outputs, net and so on..)
> i also saved the M.file (in here, validation and test % like this... )
>
> and i want to reproduce the results again.
> but when i ran the edit file(M.File),
> it gives me the ERROR
> => ?? Input argument "inputs" is undefined.
>
> Error in ==> create_fit_net1 at 22
> net = newfit(inputs,targets,numHiddenNeurons);
>
> How can i reproduce the results?? PLZZZZZ... Help me... :o

Need a clearer explanation; even if it means posting code.

Hope this helps.

Greg
From: John D'Errico on
"kwon min kyoong" <kmk5170(a)yuhs.ac> wrote in message <i0gqlu$eed$1(a)fred.mathworks.com>...
> I want to know how to reproduce the M.file?
>
> after finishing the programming, i saved the MAT.file
> : In MAT.file(variable : inputs, targets, outputs, net and so on..)
> i also saved the M.file (in here, validation and test % like this... )
>
> and i want to reproduce the results again.
> but when i ran the edit file(M.File),
> it gives me the ERROR
> => ?? Input argument "inputs" is undefined.
>
> Error in ==> create_fit_net1 at 22
> net = newfit(inputs,targets,numHiddenNeurons);
>
> How can i reproduce the results?? PLZZZZZ... Help me... :o

You can NEVER reproduce the code that went into an
m-file merely by knowing the inputs and the outputs
of the code.

For example, here is a simple set of inputs and outputs:

invar = [2 3 5 7]
...
outvar = 1

What processing was done to achieve that result? You
cannot know.

John
From: Steven Lord on

"kwon min kyoong" <kmk5170(a)yuhs.ac> wrote in message
news:i0gqlu$eed$1(a)fred.mathworks.com...
>I want to know how to reproduce the M.file?
>
> after finishing the programming, i saved the MAT.file
> : In MAT.file(variable : inputs, targets, outputs, net and so on..)
> i also saved the M.file (in here, validation and test % like this... )

Do you mean you generated the function from the NNTOOL GUI?

> and i want to reproduce the results again.
> but when i ran the edit file(M.File),
> it gives me the ERROR => ?? Input argument "inputs" is undefined.

That looks like you didn't pass the right data into the function when you
called it. Type the following:

help create_fit_net1

and see what that help text indicates the function expects as inputs, then
call the function with appropriate input values.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com