Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
neural network

Subject: neural network

From: Mohamed

Date: 13 Jul, 2009 02:24:03

Message: 1 of 4

can anyone help me with neural network?
i have a three layer neural network
i need to store the data obtained in the final layer of the network after all processing in a dat file
is there any function to do so? or anything
pls help

Subject: neural network

From: Titus Adelani

Date: 13 Jul, 2009 06:45:06

Message: 2 of 4

Hi,
You can just save the network object ('net' or whatever name you give it) to a .mat file like any other variable/object in MATLAB. The final value of the weights and biases are already part of the network. In case you carried out any preprocessing/post-processing function before/after training the network, make sure you save those parameters (in the .mat file) as well so that you can use them on new inputs before /after after simulating the network.

I hope you find this useful.

Titus
"Mohamed" <athiqrn@yahoo.co.in> wrote in message <h3e5s2$is1$1@fred.mathworks.com>...
> can anyone help me with neural network?
> i have a three layer neural network
> i need to store the data obtained in the final layer of the network after all processing in a dat file
> is there any function to do so? or anything
> pls help

Subject: neural network

From: Greg

Date: 13 Jul, 2009 10:38:08

Message: 3 of 4

On Jul 12, 10:24 pm, "Mohamed" <athi...@yahoo.co.in> wrote:
> can anyone help me with neural network?
> i have a three layer neural network
> i need to store the data obtained in the final layer of the network after all processing in a dat file
> is there any function to do so? or anything
> pls help

It is not clear if you want to save the structure net that describes
the network architecture or output, the result of using the net.
In either case use the function save

doc save
help save

save net output

Hope this helps.

Greg

Subject: neural network

From: Mohamed

Date: 13 Jul, 2009 16:18:04

Message: 4 of 4

Greg <heath@alumni.brown.edu> wrote in message <ab0f3741-c54e-4817-a026-305a6d4e6594@l28g2000vba.googlegroups.com>...
> On Jul 12, 10:24?pm, "Mohamed" <athi...@yahoo.co.in> wrote:
> > can anyone help me with neural network?
> > i have a three layer neural network
> > i need to store the data obtained in the final layer of the network after all processing in a dat file
> > is there any function to do so? or anything
> > pls help
>
> It is not clear if you want to save the structure net that describes
> the network architecture or output, the result of using the net.
> In either case use the function save
>
> doc save
> help save
>
> save net output
>
> Hope this helps.
>
> Greg




i want to save only the output of the network
say i got a [90 43 15] architecture i want to save the 15 outputs in a .dat file after training the neural network and i got a convergence
can u be help me?

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us