Home All Groups Group Topic Archive Search About

Save running assembly to disk.

Author
13 Jun 2006 2:25 PM
Bruce
Ok lets say I have a neural network implementation and I in the process
of running a wizard have trained it for my data. Now I have that
trained network in memory.

I already have the functionality to serialize and deserialize the
network, however what I would really like to do is save that running
assembly with its preset dendrites to a dll. Is this possible.

Any ideas even if they sound crazy would be appreciated.
Author
14 Jun 2006 9:24 AM
Vadym Stetsyak
Hello, Bruce!

B> I already have the functionality to serialize and deserialize the
B> network, however what I would really like to do is save that running
B> assembly with its preset dendrites to a dll. Is this possible.

AFAIK it is possible.

I assume that dll you want save is generated when neural net ( NN ) is training?

Or you have particlar object instance that holds data ( about NN ) and you want to save it along with that data?

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Are all your drivers up to date? click for free checkup

Author
26 Jun 2006 2:13 PM
Bruce
Vadym Stetsyak wrote:
Show quoteHide quote
> Hello, Bruce!
>
>  B> I already have the functionality to serialize and deserialize the
>  B> network, however what I would really like to do is save that running
>  B> assembly with its preset dendrites to a dll. Is this possible.
>
> AFAIK it is possible.
>
> I assume that dll you want save is generated when neural net ( NN ) is training?
>
> Or you have particlar object instance that holds data ( about NN ) and you want to save it along with that data?
>
> --
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot.com

I have an object instance that holds data and I want to save along with
data.
I want to take the instance and save as is.
Author
26 Jun 2006 3:54 PM
Vadym Stetsyak
Hello, Bruce!

B> I have an object instance that holds data and I want to save along with
B> data.
B> I want to take the instance and save as is.

Well, I think you need serialization.

Take a look for these samples
( http://www.c-sharpcorner.com/Language/serializingObjectsinCS.asp )
( http://www.codeproject.com/csharp/objserial.asp )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Author
2 Jul 2006 3:51 PM
Bruce
> Well, I think you need serialization.
I have no problem with serialization that is extremely easy what I want
to do is while the assembly is loaded into memory I want to save it
with the current property settings to a dll.

I already implemented the serialize and deserialize method. What I
would really like to do is dynamically load the nn assembly train the
network and then save the trained network to the filesystem as a single
dll.

Bookmark and Share